Comments on: 提取 URL 的正则表达式 https://oldblog.orzfly.com/html/regex-match-url.html His Memories from Here to There, with Fuzzy Ginkgo Fri, 18 Jul 2014 13:29:18 +0000 hourly 1 https://wordpress.org/?v=4.9.5 By: woyaowenzi https://oldblog.orzfly.com/html/regex-match-url.html#comment-754 Sun, 01 Dec 2013 03:13:56 +0000 http://orzfly.com/weblog/?p=278#comment-754 在NotePad++中使用了一下,notepad++直接Crash了。貌似不支持Notepad++的一些规则。

]]>
By: 求一个提取网址的正则表达式 - C# - 开发者 https://oldblog.orzfly.com/html/regex-match-url.html#comment-571 Sun, 23 Jun 2013 02:08:33 +0000 http://orzfly.com/weblog/?p=278#comment-571 […] – q107770540:http://orzfly.com/html/regex-match-url.html 回复6楼 – […]

]]>
By: orzFly https://oldblog.orzfly.com/html/regex-match-url.html#comment-275 Sun, 18 Dec 2011 06:47:34 +0000 http://orzfly.com/weblog/?p=278#comment-275 Well, I don’t think so. It might depend on the RegExp Engine.

]]>
By: Andre https://oldblog.orzfly.com/html/regex-match-url.html#comment-274 Fri, 16 Dec 2011 02:25:56 +0000 http://orzfly.com/weblog/?p=278#comment-274 有明显缺陷,域名中允许出现减号,例如:
http://www.great-china.com
则不能成功匹配。

]]>
By: guaishou https://oldblog.orzfly.com/html/regex-match-url.html#comment-273 Thu, 13 Jan 2011 01:44:05 +0000 http://orzfly.com/weblog/?p=278#comment-273 你好,在em搜索框里的结果很准确,用这个宏http://www.cppblog.com/woaidongmao/archive/2010/10/02/65720.html就会出现错误了。

]]>
By: guaishou https://oldblog.orzfly.com/html/regex-match-url.html#comment-272 Thu, 13 Jan 2011 01:42:25 +0000 http://orzfly.com/weblog/?p=278#comment-272 正常搜索很准确了,要是用在这个宏里,http://www.cppblog.com/woaidongmao/archive/2010/10/02/65720.html,搜索的时候提示16行出错。

]]>
By: orzFly https://oldblog.orzfly.com/html/regex-match-url.html#comment-271 Thu, 18 Mar 2010 10:42:42 +0000 http://orzfly.com/weblog/?p=278#comment-271 @hapi , 请问下您的EmEditor版本是多少?我这里一切正常啊。

]]>
By: hapi https://oldblog.orzfly.com/html/regex-match-url.html#comment-270 Thu, 18 Mar 2010 05:14:30 +0000 http://orzfly.com/weblog/?p=278#comment-270 貌似我打开Emeditor自定义宏,输入你说的这正则,出现语法错误。
我别的地方找来的正则,貌似很管用,有2种分别如下。

([w-]+.)+[w-]+(/[w- ./?%&=]*)?

http(s)?://([w-]+.)+[w-]+(/[w- ./?%&=]*)?

]]>
By: orzFly https://oldblog.orzfly.com/html/regex-match-url.html#comment-269 Sat, 23 Jan 2010 11:19:29 +0000 http://orzfly.com/weblog/?p=278#comment-269 @xiao3 , Ajax提交评论?不清楚。我的博客有么?我甚至连这个都不知道。

那个链接前加图标的效果,是直接从你代码里挖掉的……所以呢,也是用的Google缓存的。倘若直接输出 http://omgxxx.xxx/favicon.ico 的图片这样加载速度太慢了。……这个代码有很多问题,很多不该加图标的也加了……

]]>
By: xiao3 https://oldblog.orzfly.com/html/regex-match-url.html#comment-268 Sat, 23 Jan 2010 05:18:49 +0000 http://orzfly.com/weblog/?p=278#comment-268 你知道怎么弄那个Ajax提交评论的效果么?
嘻嘻,你也用这个在链接前面加图标的效果啊?是使用的Google缓存的那个服务么?

]]>