regexp-ast-analysis
A library for analysing JS RegExp
Found 3041 results for regex javascript
A library for analysing JS RegExp
A regular expression to match all Emoji-only symbols as per the Unicode Standard.
Escape RegExp special characters
regular expression to match floating point numbers in javascript notation
Regex template tag with extended syntax, context-aware interpolation, and always-on best practices
A library for finite automata and regular expressions in the context of JS RegExp
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.
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.
Pass two numbers, get a regex-compatible source string for matching ranges. Validated against more than 2.78 million test assertions.
Create a regular expression from a regular expression string.
Make a regular expression time out if it takes too long to execute
Regular expression for matching a shebang line
*A mostly reasonable approach to JavaScript*
Return a regular expression to parse a regular expression string.
JavaScript port of portions of Google Code Search
Create random strings that match a given regular expression.
*A mostly reasonable approach to JavaScript*
Returns `true` if the given string looks like a glob pattern or an extglob pattern. This makes it easy to create code that only uses external modules like node-glob when necessary, resulting in much faster code execution and initialization time, and a bet
*A mostly reasonable approach to JavaScript*
Parse CSV with JavaScript ========================================
Returns true if a string has an extglob.
JavaScript-compatible Unicode data. Arrays of code points, arrays of symbols, and regular expressions for Unicode v14.0.0’s categories, scripts, blocks, bidi, and other properties.
JavaScript-compatible Unicode data. Arrays of code points, arrays of symbols, and regular expressions for Unicode v10.0.0’s categories, scripts, blocks, bidi, and other properties.
ES6 spec-compliant RegExp.prototype.flags shim.
Is this value a JS regex? Works cross-realm/iframe, and despite ES6 @@toStringTag
Give a regex, get a robust predicate function that tests it against a string.
Return a regular expression to capture a function name.
detect possibly catastrophic, exponential-time regular expressions
A regex to match any full character, considering weird character ranges.
Escape a regular expression string or pattern.
Return a regular expression to match a newline character sequence.
Regex for matching HSLA colors.
Regex for matching RGBA color strings.
Regular expression to detect an extended-length path.
Returns an object with the (non-glob) base path and the actual pattern.
Regular expression for matching astral symbols
Compile regular expressions using the `s` (`dotAll`) flag to ES5.
*A mostly reasonable approach to JavaScript*
Spec-compliant polyfill for String.prototype.matchAll
Recursive matching plugin for Regex+
Generate regular expressions from regjsparser’s AST.
Compile regular expressions using named groups to ES5.
dockerignore is a file filter library compatible with Docker and the node-ignore API
Compile regular expressions' unicodeSets (v) flag.
Regex for RGB color strings.
Regex for matching HSL colors.
A collection of helpful utility functions for common JavaScript development and browser DOM manipulation tasks
A source code transpiler that enables the use of ES2015 Unicode regular expressions in ES5.
glob implementation in pure javascript
Replace search occurrences with a replacement string.
Compile Unicode property escapes in Unicode regular expressions to ES5.
A regular expression to match all emoji-only symbols
Compile regular expressions using duplicate named groups to index-based groups.
A library to find JS RegExp with super-linear worst-case time complexity for attack strings that repeat a single character.
Parse regular expressions' unicodeSets (v) flag.
Tokenizes a string that represents a regular expression.
Compile inline regular expression modifiers
Check if a string has ANSI escape codes
detect possibly catastrophic, exponential-time regular expressions
Generate a regex from a string or array of strings.
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)
Check if a value is a regular expression
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.
React is a JavaScript library for building user interfaces.
Returns true if a filepath is a windows UNC file path.
> A simple JavaScript utility for conditionally joining classNames together.
Regular expression for matching IP addresses (IPv4 & IPv6)
> A simple JavaScript utility for conditionally joining classNames together.
Regular expression for getting the root of a posix or windows filepath.
Generate regular expressions from regjsparser’s AST.
A isomorphic, bullet-proof, ninja-ready route parsing, matching, and reversing library for Javascript in Node and the browser.
A regular expression that matches a CHANGELOG filename
*一种写JavaScript更合理的代码风格。*
Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`
Regular expression for matching semver versions
Glob to regular expression with support for extended globs
Regular expression for matching reserved filename characters
Test if a value is a regular expression string.
grep, but in JavaScript.
Test if a value is a regular expression.
Shallow and recursively (deep) clone JavaScript objects that handles circular references
A library for teleporting rich data to another place.
Clean up regular expressions
Weapon regeX mutates regular expressions for use in mutation testing.
Utilities to get and check variable types (isString, isPlainObject, isRegExp, etc)
Simple wildcard matching
> A simple JavaScript utility for conditionally joining classNames together.
gets the package name for a require statement
Return true if a file path is (or has) a dotfile. Returns false if the path is a dot directory.
Return true if a file path contains the given path.
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.
Temporarily substitute tokens in the given `string` with placeholders, then put them back after transforming the string.
Regular expression for matching file names, with or without extension.
_emoji-test-regex-pattern_ offers Java- and JavaScript-compatible regular expression patterns to match all emoji symbols and sequences listed in the `emoji-test.txt` file provided as part of [Unicode® Technical Standard #51](https://www.unicode.org/report
JavaScript regular expression for matching a quoted string.
Returns true if the given string is a POSIX bracket expression (POSIX character class).
Parse a glob pattern into an object of tokens.
The best regular expression (regex) for matching hex color values from string.
Returns true if a windows file path has invalid characters.
Cucumber Expressions - a simpler alternative to Regular Expressions
JavaScript-compatible Unicode data. Arrays of code points, arrays of symbols, and regular expressions for Unicode v4.1.0’s categories, scripts, blocks, bidi, and other properties.
[](https://badge.fury.io/js/@wemnyelezxnpm/quia-quaerat-tenetur) [ utility to rewrite `import` statements as `require()`s; via RegExp
Parses a regular expression string and returns a new regular expression.
Returns true if a file path does not contain any invalid characters.
Regular expression to parse a regular expression string.
Make a synchronous function have a timeout
Check if a string is an IP address
The tiny, regex powered, lenient, _almost_ spec-compliant JavaScript tokenizer that never fails.
Returns true if the value passed is all whitespace.
Parse, validate, traverse, transform, and optimize Oniguruma regular expressions
Regular expression for matching scoped npm package names
Functional Regex simplifies the way you work with global regular expressions in JavaScript.
Returns `true` if an array has a glob pattern.
Regular expressions for various Unicode character classes extracted from XRegExp
Professional JavaScript utility to generate flexible and accurate regex patterns for data validation
Replace text in files using strings, regexs or functions.
The tiny, regex powered, lenient, _almost_ spec-compliant JavaScript tokenizer that never fails.
(NPM Package) Collection of various small helpers for javascript and typescript based projects, all tested and documented.
Micro parser for detection of literal regexes
ESLint plugin for finding RegExp mistakes and RegExp style guide violations.
This Typescript to Javascript compiler only drops the Typescript specific keywords. No other changes are made to the code.
Generate regular expressions that match a set of strings
Regular expression for parsing an `author` string into an object following npm conventions.
A node.js through stream that does basic streaming text search and replace and is chunk boundary friendly
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.
Replace search occurrences with a replacement string.
Regular expression for matching URLs
A collection of utilities for emojis
Type-Level RegExp parser, matcher and permutation resolver
Emojibase utility functions for working with emoji characters.
easier than regex string matching patterns for urls and other strings. turn strings into data or data into strings.
Tagged template string regular expression compiler.
`typed-env` adds a layer over [@humanwhocodes/env](https://www.npmjs.com/package/@humanwhocodes/env) that allows you to convert environment variables into various JavaScript types.
Strip ANSI color codes from a string. No dependencies.
Array extras for regular expressions
Hash map of country ISO-3 codes to regular expression identifiers
WebAssembly port of Oniguruma regex library
Evergreen emoji regex patterns.
PCRE emulation for JavaScript
Generates an anchor for a markdown header.
Split a piece text into multiple chunks based on a search query, allowing you to highlight the matches.
Regular expression for matching CSS urls.
A JavaScript module for performing various string transformation tasks. To install this module run command
Updates a section inside a file with newer content while removing the old content.
Regular expression for matching issue references
Validate zip codes fast and accurate! A Library of JavaScript Regular Expressions for validating if a specific zip code actually exists in a specific Country.
JavaScript-compatible Unicode data. Arrays of code points, arrays of symbols, and regular expressions for Unicode v12.0.0’s categories, scripts, blocks, bidi, and other properties.
Implement regex functions with ease in JavaScript
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.
Tiny glob->regex converter
Regex to validate that a URL is a git url.
>*JSCAD* is a set of modular, browser and command line tools for creating parametric 2D and 3D designs with JavaScript code.
The magical sticky regex-based parser generator 🧙
Regular expressions for matching against the XML Character Classes
A lite useragent regexes collection.
Regular expression for matching XML NCName
Replace matching strings and regexes in files
Regular expressions.
Simple, flexible file copy utility
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.
Escapes input characters to be used in regular expressions.
Escape RegExp special characters
Provides a regex that can be used to test if a string is a valid NPM package name.
A robust ES3-compatible polyfill for the `RegExp.escape` proposal - see https://github.com/tc39/proposal-regex-escaping
Regular expression for matching npm organization names
Check if a string is an IP address
Optimize regex literals
Regular expression for matching JSDoc comment blocks and the code below them.
Sorting and matching utility using configurable string, glob, regular expression, and/or function matchers
__@wemnyelezxnpm/repellat-alias-earum__ is a javascript library that resolves references in [JSON schemas](https://json-schema.org/draft/2020-12/json-schema-core#name-introduction).
A library to process strings with regular expressions.
Improved Javascript string split, for handling RegExp in a way that can easily re-create the original string
A utility that provides a fluent, convenient interface for working with arrays of data in JavaScript. Influenced by Laravel Collections.
Get all the matches for a regular expression in a string.
The JavaScript parser for the Conscript condition-scripting language.
Package of optimised react components and javascript functions for developers ♫♪
Create regex for template delimiters.
UUID check for Node and the browser
ESLint rules using Regular Expression
Modern, strongly typed, and safe utility function library for JavaScript and TypeScript. Includes type checking, manipulation of arrays, objects, strings, dates, colors, numbers, regular expressions, and more. Compatible with Browser, Node.js, Deno, and B
Escapes a string literal for use as an argument in the standard RegExp constructor.
Updated fork of OfficeProps.js - A JavaScript library used to extract, edit or remove metadata in Microsoft Office and Open Office files.
`bs-cmdliner` ------------- This is Cmdliner, a CLI-interface building tool for OCaml, packaged for [BuckleScript][] (an OCaml-to-JavaScript compiler) and [Reason][] (an alternative OCaml syntax targeting that compiler.)
Check if a string is a valid filename
Replace special characters to their simple characters
The goal of the package is to provide lightweight tools for validating strings denotings dates and time. It includes ISO 8601 datestring validation, simple YYYY-MM-DD date validation and time validation in hh:mm:ss.fff format. See details in readme.
Objix is a delightfully convienient, high performance, zero dependency and super lightweight utility which extends the javascript standard library to sugar many common use cases for working with any objects.
The `Easylibs` library is a collection of reusable JavaScript modules that can be used to build web applications. The library includes modules for progress form, file uploading, image processing, and data validation and more.
JavaScript-compatible Unicode data. Arrays of code points, arrays of symbols, and regular expressions for Unicode v9.0.0’s categories, scripts, blocks, bidi, and other properties.
Traverse object hierarchies using matching and callbacks.
[![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
Replace text patterns with applause.
JavaScript bindings for REmatch, an information extraction focused regex library that uses constant delay algoirthms.
utilities for generating regular expression
XML Schema pattern (regular expression) matcher
Tests or returns the JavaScript version by (ECMAScript) starting with ES2. (MIT license) ## Why 'js.**es6**.@drftgyhuji7npm/adipisci-quas-placeat' when 'starting with ES2'? ## - @drftgyhuji7npm/adipisci-quas-placeat() support ES2+ (index.js#@drftgyhuji7np
A tiny, PEG-like system for building language grammars with regexes.
Bash-powered globbing for node.js
Replace Text with Regex in files before bundling.
<p align="center"> IEEE 754 half-precision floating-point ponyfill for JavaScript<br> See <a href="https://github.com/tc39/proposal-float16array">TC39 proposal</a> or <a href="https://esdiscuss.org/topic/float16array">the archive of the ES Discuss Flo
JavaScript-compatible Unicode data. Arrays of code points, arrays of symbols, and regular expressions for Unicode v11.0.0’s categories, scripts, blocks, bidi, and other properties.
A regular expression that only matches a valid Github username
Human-friendly replacements.
A fork of `recursive-copy`: Simple, flexible file copy utility
JavaScript-compatible Unicode data. Arrays of code points, arrays of symbols, and regular expressions for Unicode v3.0.0’s categories, scripts, blocks, bidi, and other properties.
Detect vulnerable regexes by querying a service hosted at Virginia Tech.
Validates and converts Cucumber JSON for different Cucumber implementations and versions
A collection of regular expressions to match color syntax substrings from a text
colorParsley() • a lightweight yet versatile color parsing function with no dependencies. Takes various color strings, numbers, or objects, and turns them into simple arrays. Bonus utilities colorToHex() and colorToRGB() included
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.
escape regular expression characters
Regular expression for matching email addresses
Regular expression for matching CSS @imports
A tool to enable the checking, inserting and removal of licenses
ESLint rules to disallow unsafe regular expressions.
JavaScript-compatible Unicode data. Arrays of code points, arrays of symbols, and regular expressions for Unicode v6.0.0’s categories, scripts, blocks, bidi, and other properties.
Replace text patterns with applause.
A tiny function for escaping a string to be used as the source in a regex.
A gulp plugin to remove parts of code based on regular expressions.
Extract gfm (GitHub Flavored Markdown) fenced code blocks from a string.
A regular expression for valid domains.
RegExp for gfm (GitHub Flavored Markdown) fenced code blocks.
Search & replace across files with a CLI tool that makes you trust what you are doing.
Generate a random string match a given regular expression, suitable for mocking strings.
A CLI and library which tests helps score how vulnerable a regex pattern is to ReDoS attacks. Supported in the browser, Node and Deno.
Regexp acceptor for ECMAScript 2018
Regular expression for phone numbers.
a regular expression that matches all the surrogate pairs and combining-marked characters in a string
Filter the keys of an object using glob patterns.
React components for [Stripe.js and Elements](https://stripe.com/docs/stripe-js).
bump RegEx with semver
Use Pomsky along with your JavaScript.
A collection of regular expressions
## 繁簡轉換對應表
Glob matching for javascript/node.js. A replacement and faster alternative to minimatch and multimatch.
regexp-helper-core
Regular expression for matching es6 template delimiters in a string.
Regular expression to match a semantic version string.
JavaScript APG, an ABNF Parser Generator
@ryniaubenpm2/ea-commodi-voluptatibus is a simple utility to convert various binary data objects in Javascript, like Blob, File, TypedArray and others. It also provides conversion abilities from various notations(binary,hex,decimal,"bytes") to others.
Regular expression for matching HTML empty conditional comments
An eslint plugin that detects vulnerable regex using "https://github.com/tjenkinson/redos-detector".
Filters file paths using globs, regular expressions, or custom criteria
Easy and small template engine for the browser and nodejs.