Removed \n from net-address pattern

This commit is contained in:
Yevgen Muntyan 2007-07-20 13:19:56 -05:00
parent 009ffddb0a
commit f27760f890

View File

@ -84,11 +84,10 @@
<match>\%{float}</match>
</context>
<!-- FIXME no \n in patterns! -->
<define-regex id="net-address" extended="true" case-sensitive="false">
\%[ # separator
(https?|ftp|nntp|news|javascript|about): # protocol
[^\ \n]* [^\ \n.:;,?&gt;&lt;)] # address
\S* [^\s.:;,?&gt;&lt;)] # address
(?![a-z0-9_.-]) # separator
</define-regex>