Is this value a JS regex? Works cross-realm/iframe, and despite ES6 @@toStringTag
A simple regular expresion wrapper for easier string validation.
Is this value a JS regex?
JavaScript RegExp doesn't work with Unicode characters out of the box. This small package fixes this issue. This is \p{L} equalent extracted from XRegExp.
Pass two numbers, get a regex-compatible source string for matching ranges. Validated against more than 2.78 million test assertions.
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.
Regular expression for matching a shebang line
Regular expression for matching ANSI escape codes
detect possibly catastrophic, exponential-time regular expressions
Regular expression for testing if a file path is a windows UNC file path. Can also be used as a component of another regexp via the `.source` property.
A regex to match any full character, considering weird character ranges.
Create a javascript regular expression for matching everything except for the given string.
Regular expression for matching astral symbols
Regular expression for getting the root of a posix or windows filepath.
A JS regex-based profanity filter
Generate a regex from a string or array of strings.
Adds regex expression support
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.
Compile ES2015 Unicode regex to ES5
Recursive matching plugin for Regex+
Compile ES2015 sticky regex to an ES5 RegExp constructor
Compile regular expressions using named groups to ES5.
Compile Unicode property escapes in Unicode regular expressions to ES5.
Rust validator for ECMAScript regex literals based on regexpp.
A js-regex validator
Ergonomic Rust bindings to the JavaScript standard built-in RegExp object
proc-macro crate for js-regexp
quickjs libregexp
quickjs libregexp
quickjs libregexp
JsRegex converts Ruby's native regular expressions for JavaScript, taking care of various incompatibilities and returning warnings for unsolvable differences.
A Ruby gem that converts ECMAScript (JavaScript) regular expressions to Ruby Regexp objects, preserving behavior as closely as Ruby's regex engine allows. Handles flag mapping (i, s, m), anchor conversion (^/$ to \A/\z), inline modifiers, and control character escapes. Emits warnings for JS features without direct Ruby equivalents (g, y, u, v, d flags).
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.