3 ms·
Chokes with a "Server error" on the following URL validator: \b(?:((?:https?|mailto|s?ftp): )(?:\/{1,3} |[a-z0-9%]) |w{2,3}\d{0,3}[.]|[a-z0-9\.\-]{1,40}[.][a-z
by lectrick 14y ago
Chokes with a "Server error" on the following URL validator:
\b(?:((?:https?|mailto|s?ftp): )(?:\/{1,3} |[a-z0-9%]) |w{2,3}\d{0,3}[.]|[a-z0-9\.\-]{1,40}[.][a-z]{2,4}\/)(?: \&[a-z]{2,8}\; | [\w\(\)\.\/\:\@\#\?\=\&\-\!\~\;\'\[\]] | \%[0-9]{2})+
This is after changing ?> to ?: since it doesn't understand the non-backtracking syntax.