mirror of
https://github.com/anatolykopyl/vue-highlights.git
synced 2026-03-26 12:55:35 +00:00
Update index.js
This commit is contained in:
@@ -189,7 +189,7 @@ export const endMentionMatch = regexSupplant(/^(?:#{atSigns}|[#{latinAccentChars
|
|||||||
export const validMention = regexSupplant(
|
export const validMention = regexSupplant(
|
||||||
'(#{validMentionPrecedingChars})' + // $1: Preceding character
|
'(#{validMentionPrecedingChars})' + // $1: Preceding character
|
||||||
'(#{atSigns})' + // $2: At mark
|
'(#{atSigns})' + // $2: At mark
|
||||||
'([a-zA-Z0-9_.]{1,20})', // $3: Screen name
|
'([a-zA-Z0-9_\.]{1,20})', // $3: Screen name
|
||||||
// '(/[a-zA-Z][a-zA-Z0-9_-]{0,24})?', // $4: List (optional)
|
// '(/[a-zA-Z][a-zA-Z0-9_-]{0,24})?', // $4: List (optional)
|
||||||
{ validMentionPrecedingChars, atSigns },
|
{ validMentionPrecedingChars, atSigns },
|
||||||
'g'
|
'g'
|
||||||
|
|||||||
Reference in New Issue
Block a user