Changeset 9143
- Timestamp:
- 09/19/2019 08:04:40 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/style/trac/wp-trac.js
r9080 r9143 113 113 linkMentions: function( selector ) { 114 114 // See https://github.com/regexps/mentions-regex/blob/master/index.js#L21 115 var mentionsRegEx = /(^|[^a-zA-Z0-9_@!@#$%&*])(?:(?:@|@)(?!\/))([a-zA-Z0-9 /_\-.]{1,20})(?:\b(?!@|@)|$)/g,115 var mentionsRegEx = /(^|[^a-zA-Z0-9_@!@#$%&*])(?:(?:@|@)(?!\/))([a-zA-Z0-9_\-.]{1,20})(?:\b(?!@|@)|$)/g, 116 116 mentionsInAttrRegEx = new RegExp( '="[^"]*?' + mentionsRegEx.source + '[\\s\\S]*?"' ); 117 117
Note: See TracChangeset
for help on using the changeset viewer.