Search results
32 packages found
Match require statements in a string. Returns an array of matching require statements. Each match is an object with line number, variable name, and module name. Statements in code comments are ignored.
Get the index for each occurrence of a string, in a string. Much faster than regex, and useful for doing simple find and replace operations for specific strings.
Determine if a single match exists with an array of strings/numbers/regexes.
Match words, numbers and dates in text
idenify the type of your variable , and what it contain , using regax
This packet creates a schedule based on the specified number of players.
No dependency pattern matching library, able to work with numbers, arrays, strings, Dates or objects
- match
- matchto
- object
- string
- Date
- array
- pattern
- matching
- matches
- patterns
- pattern matching
- match statement
- compare
- comparison
- View more
Wrapper for [braces] to enable brace expansion for arrays of patterns.
Generates a regular expression for validating a range of years.
- character
- class
- date
- expand
- expansion
- expression
- is
- match
- matches
- matching
- number
- numerical
- range
- ranges
- View more
Returns true if a year is valid based on a given year, range of years, sequences of years, or any mixture of these.
- character
- class
- date
- expand
- expansion
- expression
- is
- match
- matches
- matching
- number
- numerical
- range
- ranges
- View more
Match require statements in a glob of files. Returns an an object files, each with an array of objects describing each require statement found. Each require statement object has a line number, variable name, and module name. Statements in code comments ar