Lines Matching refs:Pattern
212 var pattern = '(?:^^|[+-]';
214 pattern += '|' + preceders[i].replace(/([^=<>:&a-z])/g, '\\$1');
216 pattern += ')\\s*'; // matches at end, and matches empty string
217 return pattern;
681 // since the pattern has the 'g' modifier and defines no capturing groups,
768 /** Given triples of [style, pattern, context] returns a lexing function,
777 * [style : string, pattern : RegExp, DEPRECATED, shortcut : string].
781 * language of the portion of the token in $1 after pattern executes.
797 * Pattern must only match prefixes, and if it matches a prefix, then that
804 * character, gurantee that this pattern and only this pattern matches.