@syntropiq/py-regex
Python-compatible regular expressions for TypeScript/JavaScript, mirroring Python's re/regex API.
Found 131 results for re
Python-compatible regular expressions for TypeScript/JavaScript, mirroring Python's re/regex API.
A require/browserify plug-in for free-space regular expression files.
This package provides a nifty way to match against regular expressions. Construct objects and match against regular expressions.
Build regular expression groups from arrays of strings. Useful when you need to automatically generate RegExp patterns.
Sort an Object or package.json based on the well-known package.json keys
Template literal types for regular expression capturing groups
Regular expression to match a duration string.
Return `true` if a file extension matches the given string, array of strings, or RegExp pattern.
Return a regular expression to match a hexadecimal color.
Forcibly re-render a component from anywhere through React hooks.
Regex Chain - A new method for regular expressions
Return a regular expression to match a decimal number.
Regex Parser (fork from regexp)
Clone and modify a RegExp instance, including removing, prepending, appending & replacing the source
Replace only specific occurrences of a string. e.g. if the string exists 10 times, you can replace, say, the 3rd and 8th occurrences only, etc. Returns a new string with nth specific matches of a pattern replaced by a replacement. The pattern can be a str
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
for practice
RegExp API for Humans!
Regular expression for matching non conditional HTML comments
Custom delimiters, for Handlebars templates.
Bucklescript and ReasonML GraphQL Schema Parser / Serializer
Regular expression for matching ANSI escape codes
REXS is a language for creating regular expressions. This library can compile REXS to a regular expression.
Format regex with string substitutions
oniguruma regular expression library
A TypeScript library providing a Python-like regex interface with automatic backend selection
Custom delimiters, for Handlebars templates. Includes greedy patch.
Return a regular expression to split a filename.
Strip comments from code. Removes line comments, block comments, the first comment only, or all comments. Optionally leave protected comments unharmed.
A simple package to extract multiple named-matches from a larger text via regular expressions.
A simple CLI utility to generate the required files to get you up and running with [ReScript](https://rescript-lang.org/).