提交 b2630502 编写于 作者: S Stefan Kaes 提交者: Joshua Peek

Fixed autolink regexp compatibility for ruby 1.9 [#783 state:resolved]

Signed-off-by: NJoshua Peek <josh@joshpeek.com>
上级 2faf35ce
......@@ -558,7 +558,7 @@ def set_cycle(name, cycle_object)
[-\w]+ # subdomain or domain
(?:\.[-\w]+)* # remaining subdomains or domain
(?::\d+)? # port
(?:/(?:(?:[~\w\+@%=\(\)-]|(?:[,.;:'][^\s$])))*)* # path
(?:/(?:[~\w\+@%=\(\)-]|(?:[,.;:'][^\s$]))*)* # path
(?:\?[\w\+@%&=.;-]+)? # query string
(?:\#[\w\-]*)? # trailing anchor
)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册