diff --git a/moo/mooedit/language-specs/def.lang b/moo/mooedit/language-specs/def.lang index 7aca9ff6..3ad9be22 100644 --- a/moo/mooedit/language-specs/def.lang +++ b/moo/mooedit/language-specs/def.lang @@ -84,11 +84,10 @@ \%{float} - \%[ # separator (https?|ftp|nntp|news|javascript|about): # protocol - [^\ \n]* [^\ \n.:;,?><)] # address + \S* [^\s.:;,?><)] # address (?![a-z0-9_.-]) # separator