js-tokens
Tiny JavaScript tokenizer.
Found 2298 results for regexp search
Tiny JavaScript tokenizer.
Ignore is a manager and filter for .gitignore rules, the one used by eslint, gitbook and many others.
Matches strings against configurable strings, globs, regular expressions, and/or functions
Give a regex, get a robust predicate function that tests it against a string.
Regular expression parser for ECMAScript.
ES6 spec-compliant RegExp.prototype.flags shim.
Command line regular expression search and replace
Compile regular expressions using the `s` (`dotAll`) flag to ES5.
Is this value a JS regex? Works cross-realm/iframe, and despite ES6 @@toStringTag
Generate regular expressions from regjsparser’s AST.
regexpu’s core functionality (i.e. `rewritePattern(pattern, flag)`), capable of translating ES6 Unicode regular expressions to ES5.
Convert globs to regular expressions
Compile regular expressions' unicodeSets (v) flag.
Compile regular expressions using named groups to ES5.
Spec-compliant polyfill for String.prototype.matchAll
Compile Unicode property escapes in Unicode regular expressions to ES5.
Generate JavaScript-compatible regular expressions based on a given set of Unicode symbols or code points.
Recursively (deep) clone JavaScript native types, like Object, Array, RegExp, Date as well as primitives.
Compile regular expressions using duplicate named groups to index-based groups.
Parse regular expressions' unicodeSets (v) flag.
Compile inline regular expression modifiers
Check if a string has ANSI escape codes
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)
Regular expression parser for ECMAScript.
Match balanced character pairs, like "{" and "}"
Tokenizes a string that represents a regular expression.
Returns true if a filepath is a windows UNC file path.
Regular expression for matching IP addresses (IPv4 & IPv6)
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.
Regular Expressions parser in JavaScript
Regular expression for getting the root of a posix or windows filepath.
Check if a value is a regular expression
Generate regular expressions from regjsparser’s AST.
Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`
Regular expression for matching semver versions
Replace matching strings and regexes in files
Regular expression for matching reserved filename characters
Create random strings that match a given regular expression.
Clean up regular expressions
Glob to regular expression with support for extended globs
Simple wildcard matching
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.
Return true if a file path is (or has) a dotfile. Returns false if the path is a dot directory.
Returns true if the given string is a POSIX bracket expression (POSIX character class).
Regular expression for matching file names, with or without extension.
Parse a glob pattern into an object of tokens.
Returns true if a windows file path has invalid characters.
Regex for matching HSLA colors.
Regex for matching RGBA color strings.
The best regular expression (regex) for matching hex color values from string.
Cucumber Expressions - a simpler alternative to Regular Expressions
Convert Oniguruma patterns to native JavaScript RegExp
Extended regular expressions
Regex for RGB color strings.
Regex for matching HSL colors.
dockerignore is a file filter library compatible with Docker and the node-ignore API
Regex template tag with extended syntax, context-aware interpolation, and always-on best practices
Find multiple RegExp matches in a string
A very simple and stupid parser, based on a statemachine and regular expressions.
Regular expression for matching HTML comments
Make a regular expression time out if it takes too long to execute
A library for analysing JS RegExp
A tiny (399B) utility that converts route patterns into RegExp. Limited alternative to `path-to-regexp` 🙇
Clone and modify a RegExp instance
Returns true if a file path does not contain any invalid characters.
A regular expression to match all emoji-only symbols
A library for finite automata and regular expressions in the context of JS RegExp
Recursive matching plugin for Regex+
Check if a string is an IP address
Regular expression for matching scoped npm package names
Parse, validate, traverse, transform, and optimize Oniguruma regular expressions
Make a synchronous function have a timeout
Regular expression for matching javascript require/import statements.
Function to search values (or keys) in objects by RegExp.
A tiny and extremely fast library for compiling and matching basic glob patterns
Optimized and powerful regexes for JavaScript
Check whether a RegExp flag is supported
Parse an author, contributor, maintainer or other 'person' string into an object with name, email and url properties following npm conventions.
Regular expression for parsing an `author` string into an object following npm conventions.
ESLint plugin for finding RegExp mistakes and RegExp style guide violations.
An extremely fast and lightweight glob-matching library with advanced features
Test if a value is a regular expression string.
Parse parentheses from a string
Return a regular expression to capture a function name.
Escape a regular expression string or pattern.
Regular expression to detect an extended-length path.
Create a regular expression from a regular expression string.
Return a regular expression to match a newline character sequence.
Return a regular expression to parse a regular expression string.
Test if a value is a regular expression.
Strip ANSI color codes from a string. No dependencies.
Array extras for regular expressions
A regular expression that matches a CHANGELOG filename
Regular expression for matching CSS urls.
Quickly parse & match URLs
Utilities to get and check variable types (isString, isPlainObject, isRegExp, etc)
Escape regular expression special characters
Regular expression for matching issue references
Converts PCRE regexp strings to JavaScript RegExp instances
A string manipulation toolbox, featuring a string formatter (inspired by sprintf), a variable inspector (output featuring ANSI colors and HTML) and various escape functions (shell argument, regexp, html, etc).
Tiny glob->regex converter
A utility to compile browserslist query to a RegExp to test browser useragent.
Regex to validate that a URL is a git url.
A source code transpiler that enables the use of ES2015 Unicode regular expressions in ES5.
Dependency-free request URI matcher
Regular expression for matching JavaScript identifiers
A lite useragent regexes collection.
3x as fast as `is-whitespace` and `whitespace-regex` thanks to `is-string-blank`. This package is a simple function that accepts an argument and returns `true` if it is a string AND it is not blank. Supports Node and Browser environments.
Escape RegExp special characters
Simple, flexible file copy utility
Regular expression matching for URL's. Maintained, safe, and browser-friendly version of url-regex. Resolves CVE-2020-7661. Works in Node v10.12.0+ and browsers.
Regular expression for matching npm organization names
Provides a regex that can be used to test if a string is a valid NPM package name.
Get the YouTube, Vimeo, Vine, VideoPress, TikTok, Microsoft Stream, Loom or Dailymotion video id from a url or embed string.
Covert Oniguruma-flavor Regexp to JavaScript native RegExp
Regexp-like string matcher.
Cross browser String#split implementation
Check if a string is an IP address
Weapon regeX mutates regular expressions for use in mutation testing.
Asynchronous String.prototype.replace()
ESLint rules using Regular Expression
Escape regular expression special characters
A utility for slicing text based on search words.
Google's RE2 library distributed as a WASM module
Create regex for template delimiters.
Micro parser for detection of literal regexes
The trustworthy ReDoS checker
Check if a string is a valid filename
match capture groups and return index
Tagged template string regular expression compiler.
Bash-powered globbing for node.js
A batch string/regexp replace plugin for gulp
Human-friendly replacements.
Quickly parse & match URLs
[![github actions][actions-image]][actions-url] [![coverage][codecov-image]][codecov-url] [![dependency status][deps-svg]][deps-url] [![dev dependency status][dev-deps-svg]][dev-deps-url] [![License][license-image]][license-url] [![Downloads][downloads-im
Regular expressions for various Unicode character classes extracted from XRegExp
A fork of `recursive-copy`: Simple, flexible file copy utility
Regular expression for matching javascript require statements.
Transform GLOB patterns to JavaScript regular expressions for fast file path matching.
A collection of regular expressions to match color syntax substrings from a text
Copy or deep clone a value to an arbitrary depth.
Regular expression for matching email addresses
Regular expression to parse a regular expression string.
Parses a regular expression string and returns a new regular expression.
ESLint plugin for catching ReDoS vulnerability
Regular expression based version read/write plugin for release-it
oniguruma regular expression library
Copy or deep clone a value to an arbitrary depth.
Routing for static site generators, build systems and task runners, heavily based on express.js routes but works with file objects. Used by Assemble, Verb, and Template.
Replace text patterns with applause.
A tiny function for escaping a string to be used as the source in a regex.
Extract gfm (GitHub Flavored Markdown) fenced code blocks from a string.
Express style path to RegExp utility
RegExp for gfm (GitHub Flavored Markdown) fenced code blocks.
Regular expression parser for ECMAScript.
Regular expressions.
🐊Putout plugin helps with regexp
Regular expression for matching JavaScript comments
Regular expression for matching es6 template delimiters in a string.
Command line application to search text by regular expressions with plenty of features
A robust & optimized `RegExp.prototype.search` polyfill, based on the ECMAScript 6 specification.
Lightweight http server statically configurable using regular expressions
rollup replace plugin
Regex for matching dot-directories, like `.git/`
Replace text patterns with applause.
Filters file paths using globs, regular expressions, or custom criteria
Human-friendly replacements.
Replace text patterns with applause.
Sorting and matching utility using configurable string, glob, regular expression, and/or function matchers
🐊Putout operator adds ability to check if provided regexp can be converted to string without losing it's sense
Replace special characters to their simple characters
Replace text patterns with applause.
A small, flow-covered, zero-dependency package to work with wildcard (*) values by matching, searching, and filtering values that match a given wildcard pattern. (Works in Browser)
A regular expression that only matches a valid Github username
Modify rollup output with find / replace dynamically
JavaScript-compatible Unicode data. Arrays of code points, arrays of symbols, and regular expressions for Unicode v13.0.0’s categories, scripts, blocks, bidi, and other properties.
Utilities for manipulating regular expressions
Check that given value is valid hex color, using `hex-color-regex` - the best regex for matching hex color values
JavaScript-compatible Unicode data. Arrays of code points, arrays of symbols, and regular expressions for Unicode v16.0.0’s categories, scripts, blocks, bidi, and other properties.
Escapes special characters in a string, for matching substrings with a RegExp instance.
Find and replace utility for node.js. Transform strings by running multiple RegExp or string find-and-replace patterns on a string in sequence, reducing the final string to the accumulated result of each transformation. Patterns can be strings (or arrays
JavaScript Extended regular expression engine - client side, server side and 'angular side' ready.
Next JavaScript Object Notation
Converts Python-like (re) regular expressions to JavaScript RegExp instances
Skiff is a privacy-first, end-to-end encrypted workspace with Mail, Calendar, Pages, and Drive product. Sign up for a free Skiff Mail account at [skiff.com](https://skiff.com). This monorepo contains all Skiff apps, libraries, and more. You can sign up, u
A regular expression for valid domains.
Extends JavaScript RegExp with named groups, backreferences and replacement.
Escape RegExp special characters. This is a fork of sindresorhus/escape-string-regexp, but with CommonJS support.
A simple utility to check if a string is an ISO-compliant date.
Provides RegExp.escape function for quoting text for a regular expression.
Regexp for data-uri
Regular expression matching for email addresses. Maintained, configurable, more accurate, and browser-friendly alternative to email-regex. Works in Node v14+ and browsers. Made for Spam Scanner and Forward Email.
Generate a random string match a given regular expression, suitable for mocking strings.
Create a matching function from a glob pattern, regex, string, array, object or function.
check RegExp ( regular expressions ) support
Validates and converts Cucumber JSON for different Cucumber implementations and versions
Does one simple thing - gets the flags from a regular expression. Useful for cloning and any library that uses or generates regular expressions that are created from other regular expressions.
A simple library for escaping specical characters in strings for HTML, CSS, RegExp, String, URL.
Regex to match a percentage value
find require calls from string using regexp
ESLint rules to disallow unsafe regular expressions.
Ένα JS package για node ή browser (με TypeScript types) με μεθόδους που διευκολύνουν την αναζήτηση ελληνικού κειμένου
regexp-helper
搜尋字串用的漢字貪婪轉換表
[](https://npm.im/npm) [](https://npm.im/npm) [](ht
A parser combinator library like Parsec.
\Q..\E (quotemeta) support for XRegExp
Get CSS urls from a string.
One-pass String.prototype.replace-like processor with multiple regexps and replacements
簡繁日 共通字/轉換表
轉換 簡繁日 當中共通的 漢字
Regular Expression Detection & Replacement streams.
Check Any file with ESLint
Regular expression for usernames - it follows the same rules that GitHub uses.
## 繁簡轉換對應表
convert chinese, japanese 簡繁日漢字轉換 ( merge/split submodule from node-novel, regexp-cjk, str-util )
regexp-helper-core
Get the line number for each regex match found in a string.
A regular expression that matches all emojis. Works in Javascript, .NET, and Java.
簡繁轉換表
Generate RegExp for delimiters, to be used with templates, files or data streams.
Validate & sanitize social links
日文五十音轉換表
Get the number of occurrences of a RegExp in a string
Match a string against a list of patterns
JavaScript-compatible Unicode data. Arrays of code points, arrays of symbols, and regular expressions for Unicode v15.0.0’s categories, scripts, blocks, bidi, and other properties.
Regular expression for matching words in a string. Support for english, CJK and Cyrillic.
A regular expression to match hashtag identifiers as per the Unicode Standard.
Turn a path string such as /user/:id or /user/:id(\d+) into a regular expression
JavaScript-compatible Unicode data. Arrays of code points, arrays of symbols, and regular expressions for Unicode v15.1.0’s categories, scripts, blocks, bidi, and other properties.
Generate JavaScript-compatible regular expressions with chinese/jp/zh/cn
Regular expression parser for ECMAScript 2018.
RegExp AST Parser
Regular expresson for matching dotfiles.
Count the words in a string. Support for english, CJK and Cyrillic.
## API
create regex class range string `[一-十]` `[⓪-㊿]` ...
Escape RegExp special characters
Custom delimiters, for Handlebars templates.
Extended regular expressions
Array of RegExp.prototype.exec results
Regular expression for matching non-ASCII characters
Match the words in a string. Support for english, CJK and Cyrillic.