1573 packages found
ES6 spec-compliant RegExp.prototype.flags shim.
A regular expression to match all Emoji-only symbols as per the Unicode Standard.
Give a regex, get a robust predicate function that tests it against a string.
Spec-compliant polyfill for String.prototype.matchAll
Glob matching for javascript/node.js. A replacement and faster alternative to minimatch and multimatch.
- bash
- bracket
- character-class
- expand
- expansion
- expression
- extglob
- extglobs
- file
- files
- filter
- find
- glob
- globbing
- View more
Escape RegExp special characters
Ignore is a manager and filter for .gitignore rules, the one used by eslint, gitbook and many others.
- ignore
- .gitignore
- gitignore
- npmignore
- rules
- manager
- filter
- regexp
- regex
- fnmatch
- glob
- asterisks
- regular-expression
Is this value a JS regex? Works cross-realm/iframe, and despite ES6 @@toStringTag
Matches strings against configurable strings, globs, regular expressions, and/or functions
detect possibly catastrophic, exponential-time regular expressions
regexpu’s core functionality (i.e. `rewritePattern(pattern, flag)`), capable of translating ES6 Unicode regular expressions to ES5.
- codegen
- desugaring
- ecmascript
- es5
- es6
- harmony
- javascript
- refactoring
- regex
- regexp
- regular expressions
- rewriting
- syntax
- transformation
- View more
Bindings for RE2: fast, safe alternative to backtracking regular expression engines.
Fill in a range of numbers or letters, optionally passing an increment or `step` to use, or create a regex-compatible range with `options.toRegex`
Extended regular expressions
Regular expression for matching ANSI escape codes
Returns true if a string has an extglob.
Returns `true` if the given string looks like a glob pattern or an extglob pattern. This makes it easy to create code that only uses external modules like node-glob when necessary, resulting in much faster code execution and initialization time, and a bet
The best regular expression (regex) for matching hex color values from string.
easier than regex string matching patterns for urls and other strings. turn strings into data or data into strings.
- url
- string
- matching
- pattern
- routing
- route
- regex
- match
- segment
- parsing
- parser
- parse
- combinator
- combinators
- View more
Spec-compliant polyfill for String.prototype.replaceAll ESnext proposal