Removed \n from net-address pattern
This commit is contained in:
parent
009ffddb0a
commit
f27760f890
@ -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.:;,?><)] # address
|
||||
\S* [^\s.:;,?><)] # address
|
||||
(?![a-z0-9_.-]) # separator
|
||||
</define-regex>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user