yaoshaojun / switchy

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

regex does not work #423

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.Create a rule with following input without double quotes "https?://[^.]*/.+" 
type is to  regular expression
2.go to any site with hostname only http://test/

What is the expected output?
This rule should match 

https://test/* or http://test/*
but not http://test.com/ 
Rule was tested on http://gskinner.com/RegExr/

What do you see instead?
chrome can not access the site since proxy is not invoked

Operating system:
Tried only on Windows

Error Log:
[10:00:02] [info] - Extension Info: v1.6.3
[10:00:02] [info] - Browser Info: 5.0 (Windows NT 5.1) AppleWebKit/535.7 
(KHTML, like Gecko) Chrome/16.0.912.63 Safari/535.7
[12:25:43] [success] - Everything is OK
[12:28:22] [success] - Everything is OK
[12:38:33] [success] - Everything is OK

Original issue reported on code.google.com by getu...@gmail.com on 22 Dec 2011 at 10:40

GoogleCodeExporter commented 8 years ago
https?://[^.]*/.* 
works. please junk this ticket

Original comment by getu...@gmail.com on 23 Dec 2011 at 11:45