js-tokens
Tiny JavaScript tokenizer.
Found 2299 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
Is this value a JS regex? Works cross-realm/iframe, and despite ES6 @@toStringTag
Compile regular expressions using the `s` (`dotAll`) flag to ES5.
Compile regular expressions using named groups to ES5.
Spec-compliant polyfill for String.prototype.matchAll
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.
Compile regular expressions' unicodeSets (v) flag.
Compile Unicode property escapes in Unicode regular expressions to ES5.
Convert globs to regular expressions
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
Regular expression parser for ECMAScript.
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)
Tokenizes a string that represents a regular expression.
Match balanced character pairs, like "{" and "}"
Regular expression for matching IP addresses (IPv4 & IPv6)
Returns true if a filepath is a windows UNC file path.
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
Replace matching strings and regexes in files
Generate regular expressions from regjsparser’s AST.
Regular expression for matching semver versions
Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`
Regular expression for matching reserved filename characters
Clean up regular expressions
Create random strings that match a given regular expression.
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.
Regular expression for matching file names, with or without extension.
Regex for matching HSLA colors.
Regex for matching RGBA color strings.
The best regular expression (regex) for matching hex color values from string.
Parse a glob pattern into an object of tokens.
Extended regular expressions
Convert Oniguruma patterns to native JavaScript RegExp
Returns true if a windows file path has invalid characters.
Returns true if the given string is a POSIX bracket expression (POSIX character class).
Cucumber Expressions - a simpler alternative to 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
Find multiple RegExp matches in a string
A very simple and stupid parser, based on a statemachine and regular expressions.
Regex template tag with extended syntax, context-aware interpolation, and always-on best practices
Make a regular expression time out if it takes too long to execute
A library for analysing JS RegExp
Regular expression for matching HTML comments
Clone and modify a RegExp instance
A tiny (399B) utility that converts route patterns into RegExp. Limited alternative to `path-to-regexp` 🙇
Returns true if a file path does not contain any invalid characters.
A library for finite automata and regular expressions in the context of JS RegExp
Recursive matching plugin for Regex+
A regular expression to match all emoji-only symbols
Check if a string is an IP address
Parse, validate, traverse, transform, and optimize Oniguruma regular expressions
Make a synchronous function have a timeout
Regular expression for matching scoped npm package names
Regular expression for matching javascript require/import statements.
Function to search values (or keys) in objects by RegExp.
Optimized and powerful regexes for JavaScript
A tiny and extremely fast library for compiling and matching basic glob patterns
Parse an author, contributor, maintainer or other 'person' string into an object with name, email and url properties following npm conventions.
ESLint plugin for finding RegExp mistakes and RegExp style guide violations.
Regular expression for parsing an `author` string into an object following npm conventions.
An extremely fast and lightweight glob-matching library with advanced features
Check whether a RegExp flag is supported
Escape a regular expression string or pattern.
Return a regular expression to capture a function name.
Create a regular expression from a regular expression string.
Test if a value is a regular expression string.
Return a regular expression to match a newline character sequence.
Test if a value is a regular expression.
Parse parentheses from a string
Regular expression to detect an extended-length path.
Return a regular expression to parse a regular expression string.
Strip ANSI color codes from a string. No dependencies.
Array extras for regular expressions
Quickly parse & match URLs
A regular expression that matches a CHANGELOG filename
Utilities to get and check variable types (isString, isPlainObject, isRegExp, etc)
Regular expression for matching CSS urls.
Regular expression for matching issue references
Escape regular expression special characters
A utility to compile browserslist query to a RegExp to test browser useragent.
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).
Regex to validate that a URL is a git url.
Tiny glob->regex converter
Converts PCRE regexp strings to JavaScript RegExp instances
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.
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.
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
Provides a regex that can be used to test if a string is a valid NPM package name.
Transform GLOB patterns to JavaScript regular expressions for fast file path matching.
Simple, flexible file copy utility
Regexp-like string matcher.
Cross browser String#split implementation
Get the YouTube, Vimeo, Vine, VideoPress, TikTok, Microsoft Stream, Loom or Dailymotion video id from a url or embed string.
Regular expression for matching npm organization names
Weapon regeX mutates regular expressions for use in mutation testing.
Check if a string is an IP address
Covert Oniguruma-flavor Regexp to JavaScript native RegExp
Asynchronous String.prototype.replace()
A utility for slicing text based on search words.
Escape regular expression special characters
Google's RE2 library distributed as a WASM module
ESLint rules using Regular Expression
Create regex for template delimiters.
The trustworthy ReDoS checker
Micro parser for detection of literal regexes
Check if a string is a valid filename
Tagged template string regular expression compiler.
Bash-powered globbing for node.js
A batch string/regexp replace plugin for gulp
match capture groups and return index
Regular expressions for various Unicode character classes extracted from XRegExp
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 expression for matching javascript require statements.
A fork of `recursive-copy`: Simple, flexible file copy utility
Human-friendly replacements.
Copy or deep clone a value to an arbitrary depth.
A collection of regular expressions to match color syntax substrings from a text
Regular expression for matching email addresses
Parses a regular expression string and returns a new regular expression.
ESLint plugin for catching ReDoS vulnerability
Regular expression to parse a regular expression string.
oniguruma regular expression library
Replace text patterns with applause.
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.
Regular expression based version read/write plugin for release-it
Copy or deep clone a value to an arbitrary depth.
Extract gfm (GitHub Flavored Markdown) fenced code blocks from a string.
A tiny function for escaping a string to be used as the source in a regex.
Express style path to RegExp utility
RegExp for gfm (GitHub Flavored Markdown) fenced code blocks.
Regular expressions.
Regular expression parser for ECMAScript.
🐊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
Lightweight http server statically configurable using regular expressions
rollup replace plugin
A robust & optimized `RegExp.prototype.search` polyfill, based on the ECMAScript 6 specification.
Replace text patterns with applause.
Filters file paths using globs, regular expressions, or custom criteria
Human-friendly replacements.
Regex for matching dot-directories, like `.git/`
Replace text patterns with applause.
🐊Putout operator adds ability to check if provided regexp can be converted to string without losing it's sense
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)
Sorting and matching utility using configurable string, glob, regular expression, and/or function matchers
Replace special characters to their simple characters
Replace text patterns with applause.
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.
Modify rollup output with find / replace dynamically
Utilities for manipulating regular expressions
A regular expression that only matches a valid Github username
Check that given value is valid hex color, using `hex-color-regex` - the best regex for matching hex color values
Escapes special characters in a string, for matching substrings with a RegExp instance.
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.
JavaScript Extended regular expression engine - client side, server side and 'angular side' ready.
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
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
Extends JavaScript RegExp with named groups, backreferences and replacement.
A simple utility to check if a string is an ISO-compliant date.
Escape RegExp special characters. This is a fork of sindresorhus/escape-string-regexp, but with CommonJS support.
Provides RegExp.escape function for quoting text for a regular expression.
A regular expression for valid domains.
Regexp for data-uri
A simple library for escaping specical characters in strings for HTML, CSS, RegExp, String, URL.
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
Ένα JS package για node ή browser (με TypeScript types) με μεθόδους που διευκολύνουν την αναζήτηση ελληνικού κειμένου
ESLint rules to disallow unsafe regular expressions.
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.
regexp-helper
A parser combinator library like Parsec.
Validates and converts Cucumber JSON for different Cucumber implementations and versions
One-pass String.prototype.replace-like processor with multiple regexps and replacements
搜尋字串用的漢字貪婪轉換表
find require calls from string using regexp
[](https://npm.im/npm) [](https://npm.im/npm) [](ht
簡繁日 共通字/轉換表
轉換 簡繁日 當中共通的 漢字
Regex to match a percentage value
Get CSS urls from a string.
Check Any file with ESLint
\Q..\E (quotemeta) support for XRegExp
## 繁簡轉換對應表
convert chinese, japanese 簡繁日漢字轉換 ( merge/split submodule from node-novel, regexp-cjk, str-util )
Regular Expression Detection & Replacement streams.
regexp-helper-core
Regular expression for usernames - it follows the same rules that GitHub uses.
Get the line number for each regex match found in a string.
Generate RegExp for delimiters, to be used with templates, files or data streams.
簡繁轉換表
Validate & sanitize social links
日文五十音轉換表
A regular expression that matches all emojis. Works in Javascript, .NET, and Java.
Get the number of occurrences of a RegExp in a string
Match a string against a list of patterns
Regular expression for matching words in a string. Support for english, CJK and Cyrillic.
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.
A regular expression to match hashtag identifiers as per the Unicode Standard.
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.
Turn a path string such as /user/:id or /user/:id(\d+) into a regular expression
Generate JavaScript-compatible regular expressions with chinese/jp/zh/cn
Regular expression parser for ECMAScript 2018.
RegExp AST Parser
create regex class range string `[一-十]` `[⓪-㊿]` ...
Regular expresson for matching dotfiles.
Extended regular expressions
Custom delimiters, for Handlebars templates.
Escape RegExp special characters
Count the words in a string. Support for english, CJK and Cyrillic.
## API
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.
Regular expression for matching non-ASCII characters
Match the words in a string. Support for english, CJK and Cyrillic.