We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fd46223 commit a21e996Copy full SHA for a21e996
autolink.coffee
@@ -1,6 +1,6 @@
1
autoLink = (options...) ->
2
pattern = ///
3
- (^|[\s\n]|<br\/?>) # Capture the beginning of string or line or leading whitespace
+ (^|[\s\S\n]|<br\/?>) # Capture the beginning of string or line or leading whitespace
4
(
5
(?:https?|ftp):// # Look for a valid URL protocol (non-captured)
6
[\-A-Z0-9+\u0026\u2019@#/%?=()~_|!:,.;]* # Valid URL characters (any number of times)
0 commit comments