828 packages found
Matches strings against configurable strings, globs, regular expressions, and/or functions
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
Is this value a JS regex? Works cross-realm/iframe, and despite ES6 @@toStringTag
Escape RegExp special characters
evaluate statically-analyzable expressions
Math.js is an extensive math library for JavaScript and Node.js. It features a flexible expression parser with support for symbolic computation, comes with a large set of built-in functions and constants, and offers an integrated solution to work with dif
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
Pass two numbers, get a regex-compatible source string for matching ranges. Validated against more than 2.78 million test assertions.
- bash
- date
- expand
- expansion
- expression
- glob
- match
- match date
- match number
- match numbers
- match year
- matches
- matching
- number
- View more
unist utility to select nodes with CSS-like selectors
Returns true if a string has an extglob.
Angular expressions as standalone module
The best regular expression (regex) for matching hex color values from string.
Regular expression parser for ECMAScript.
- regexp
- regular
- expression
- parser
- validator
- ast
- abstract
- syntax
- tree
- ecmascript
- es2015
- es2016
- es2017
- es2018
- View more
Regex for matching RGBA color strings.
Regex for RGB color strings.
Create a regular expression from a regular expression string.
Test if a value is a regular expression string.
- stdlib
- stdassert
- assertion
- assert
- utils
- util
- utilities
- utility
- isregexp
- regular expression
- regexp
- regex
- regular
- expression
- View more
Replace search occurrences with a replacement string.
Expand POSIX bracket expressions (character classes) in glob patterns.