34 packages found

regex-cache

Memoize the results of a call to the RegExp constructor, avoiding repetitious runtime compilation of the same string and options, resulting in surprising performance improvements.
  1. cache
  2. expression
  3. regex
  4. regexp
  5. regular
  6. regular expression
  7. store
  8. to-regex
  9. javascript
  10. regular-expression
4 Contributors
0.4.4published 8 years agoMIT

grex

grex generates regular expressions from user-provided test cases.
  1. pattern
  2. regex
  3. regexp
  4. cli
  5. command-line-tool
  6. python
  7. python-library
  8. regex-pattern
  9. regular-expression
  10. regular-expressions
  11. rust
  12. rust-cli
  13. rust-crate
  14. rust-library
  15. terminal
  16. tool
10 Contributors
1.0.1published 1 year agoApache-2.0

regjsgen

Generate regular expressions from regjsparser’s AST.
  1. ast
  2. generate
  3. regex
  4. regexp
  5. regular expressions
  6. regjs
  7. regular-expression
6 Contributors
0.8.0published 2 years agoMIT

js_regex

JsRegex converts Ruby's native regular expressions for JavaScript, taking care of various incompatibilities and returning warnings for unsolvable differences.
  1. javascript
  2. regular-expression
  3. ruby
6 Contributors
3.13.0published 3 months agoMIT

to-regex-range

Pass two numbers, get a regex-compatible source string for matching ranges. Validated against more than 2.78 million test assertions.
  1. bash
  2. date
  3. expand
  4. expansion
  5. expression
  6. glob
  7. match
  8. match date
  9. match number
  10. match numbers
  11. match year
  12. matches
  13. matching
  14. number
  15. numbers
  16. numerical
  17. range
  18. ranges
  19. regex
  20. regexp
  21. regular
  22. regular expression
  23. sequence
  24. character-class
  25. integers
  26. javascript
  27. matcher
  28. node
  29. nodejs
  30. padding
  31. range-expansion
  32. regex-range
  33. regular-expression
  34. repeat
  35. tidelift
5 Contributors
5.0.1published 6 years agoMIT

hex-color-regex

The best regular expression (regex) for matching hex color values from string.
  1. color
  2. colors
  3. css
  4. expr
  5. expression
  6. expressions
  7. hex
  8. match
  9. matching
  10. regex
  11. regexp
  12. regexps
  13. regular
  14. web
  15. hex-color
  16. regular-expression
  17. web-colors
6 Contributors
1.1.0published 8 years agoMIT

nanomatch

Fast, minimal glob matcher for node.js. Similar to micromatch, minimatch and multimatch, but complete Bash 4.3 wildcard support only (no support for exglobs, posix brackets or braces)
  1. bash
  2. expand
  3. expansion
  4. expression
  5. file
  6. files
  7. filter
  8. find
  9. glob
  10. globbing
  11. globs
  12. globstar
  13. match
  14. matcher
  15. matches
  16. matching
  17. micromatch
  18. minimatch
  19. multimatch
  20. nanomatch
  21. path
  22. pattern
  23. patterns
  24. regex
  25. regexp
  26. regular
  27. shell
  28. wildcard
  29. glob-matching
  30. glob-pattern
  31. javascript
  32. node
  33. node-glob
  34. nodejs
  35. pattern-matching
  36. regular-expression
  37. star
  38. tidelift
6 Contributors
1.2.13published 7 years agoMIT

shallow-clone

Creates a shallow clone of any JavaScript value.
  1. array
  2. clone
  3. copy
  4. extend
  5. mixin
  6. object
  7. primitive
  8. shallow
  9. regex
  10. regular-expression
3 Contributors
3.0.1published 6 years agoMIT

is-git-url

Regex to validate that a URL is a git url.
  1. git
  2. github
  3. is
  4. regex
  5. regexp
  6. test
  7. url
  8. match
  9. regular-expression
5 Contributors
1.0.0published 8 years agoMIT

to-regex

Generate a regex from a string or array of strings.
  1. match
  2. regex
  3. regular expression
  4. test
  5. to
  6. javascript
  7. node
  8. nodejs
  9. regexp
  10. regular-expression
1 Contributors
3.0.2published 7 years agoMIT
Showing 1 to 10 of 34 results