cayfe / switchy

Automatically exported from code.google.com/p/switchy
0 stars 0 forks source link

switch rule with regexp work bad #268

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
sorry, my english is not good.
What steps will reproduce the problem?
1. setting proxy profile like "proxy profiles.png"
2. setting switch rules like "switch rules.png", the regexp is 
"http(s?)://.*(twitter\.com|youtube\.com|wikipedia\.org|yfrog\.com|twitpic\.com|
img\.ly|bit\.ly|ow\.ly|yahoo\.com|bullogger\.com|facebook\.com|laogeng\.org|docs
\.google\.com)(\/.*)?"
3. any url like https://* always use GAppProxy but not the SSH

What is the expected output?

What do you see instead?

Operating system: Windos 7
All | Windows | Mac | Linux

Error Log:
[14:00:43] [info] - Extension Info: v1.6.3
[14:00:43] [info] - Browser Info: 5.0 (Windows; U; Windows NT 6.1; en-US) 
AppleWebKit/534.15 (KHTML, like Gecko) Chrome/10.0.612.3 Safari/534.15
[15:58:30] [success] - Everything is OK

Please provide any additional information below. Attach a screenshot if
possible.

Original issue reported on code.google.com by zhchu...@gmail.com on 5 Jan 2011 at 8:07

Attachments:

GoogleCodeExporter commented 8 years ago
a regexp like
https?://[^/]*(\.)?((wikipedia)|(wikimedia))\.org((/?\W)|(/.*))
works fine

Original comment by Cyber...@gmail.com on 15 Jan 2011 at 11:15

GoogleCodeExporter commented 8 years ago
through i watched the pac file created by the Switchy!, just use one switch 
rule can not resolve this question.

Original comment by zhchu...@gmail.com on 16 Jan 2011 at 2:21