Changeset 3821
- Timestamp:
- 08/17/2016 11:12:54 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/style/trac/wp-trac.js
r3216 r3821 99 99 linkMentions: function() { 100 100 // See https://github.com/regexps/mentions-regex/blob/master/index.js#L21 101 var mentionsRegEx = /(^|[^a-zA-Z0-9_@!@#$%&*])(?:(?:@|@)(?!\/))([a-zA-Z0-9/_ .]{1,20})(?:\b(?!@|@)|$)/g,101 var mentionsRegEx = /(^|[^a-zA-Z0-9_@!@#$%&*])(?:(?:@|@)(?!\/))([a-zA-Z0-9/_\-.]{1,20})(?:\b(?!@|@)|$)/g, 102 102 mentionsInAttrRegEx = new RegExp( '="[^"]*?' + mentionsRegEx.source + '[\\s\\S]*?"' ); 103 103
Note: See TracChangeset
for help on using the changeset viewer.