1
silvernoo 2014-11-23 09:22:38 +08:00 1
(http://|//)
|
2
riaqn 2014-11-23 09:36:26 +08:00 1
(http:)?\/\/www\.v2ex\.com
|
3
Havee 2014-11-23 09:44:13 +08:00 1
就两个,那就用 | 来吧,复杂了增加运算不说,反而更容易出问题
|
4
lwbjing 2014-11-23 09:51:08 +08:00 1
1L前头加^
|
5
Slienc7 2014-11-23 11:09:28 +08:00
((https?:)?//(?<site>[^/]+)gstatic\.com)
匹配: https,http,// *.gstatic.com |
8
vpn002 2014-11-23 13:36:58 +08:00
^(http:)?//
|
9
sneezry 2014-11-23 13:59:47 +08:00
/需要转义啊,上面木有转义的是几个意思啊~
|