You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// this setup does not scale well for open extension :( Need to rethink design of autolinker...
166
-
// *** Capturing group $9, which matches a (USA for now) phone number
166
+
// *** Capturing group $9, which matches a (USA for now) phone number, and
167
+
// *** Capturing group $10, which matches the '+' sign for international numbers, if it exists
167
168
'(',
168
169
phoneRegex.source,
169
170
')',
170
171
171
172
'|',
172
173
173
-
'(',// *** Capturing group $10, which can be used to check for a Hashtag match. Use group $12 for the actual Hashtag though. $11 may be used to reconstruct the original string in a replace()
174
-
// *** Capturing group $11, which matches the whitespace character before the '#' sign (needed because of no lookbehinds), and
175
-
// *** Capturing group $12, which matches the actual Hashtag
174
+
'(',// *** Capturing group $11, which can be used to check for a Hashtag match. Use group $12 for the actual Hashtag though. $11 may be used to reconstruct the original string in a replace()
175
+
// *** Capturing group $12, which matches the whitespace character before the '#' sign (needed because of no lookbehinds), and
176
+
// *** Capturing group $13, which matches the actual Hashtag
0 commit comments