# VerbalExpressions/JSVerbalExpressions

JavaScript Regular expressions made easy

Repository: https://github.com/VerbalExpressions/JSVerbalExpressions
Canonical: https://ross.abutalabs.com/products/jsverbalexpressions
Homepage: http://verbalexpressions.github.io/JSVerbalExpressions/
Language: JavaScript
License: MIT
License Family: permissive
Topics: verbalexpressions, javascript-regular-expressions
Last push: 2024-08-07T00:27:50+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 4793, "days_push": 757, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 12134, forks 488 (observed 2026-08-28T04:10:51.841777+00:00)

## What it is
JSVerbalExpressions is a JavaScript library that provides a fluent, chainable API for constructing regular expressions without writing raw regex syntax. It wraps JavaScript's RegExp object with readable methods like startOfLine(), then(), maybe(), and anythingBut().

## Use cases
- build regex patterns without memorizing regex syntax
- validate URLs with readable code
- construct complex match patterns programmatically
- replace cryptic regex strings with chainable method calls
- test whether strings match a pattern built step by step

## When to choose
- you find raw regular expressions hard to read or maintain
- you want to build regexes dynamically in JavaScript or Node.js
- your team prefers fluent, self-documenting pattern construction

## When to avoid
- you need maximum regex performance for hot paths
- you need advanced regex features not exposed by the fluent API
- you are working outside JavaScript/Node.js

## Facets
- artifact type: library
- maturity: stable
- function: parser, developer-tools
- domain: developer-tools, programming-languages, web-development
- platform: browser
- tags: regex, regular-expressions, fluent-api, builder-pattern, javascript, nodejs

## Member repositories
- VerbalExpressions/JSVerbalExpressions (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:51.841777+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:14:54.657936+00:00, confidence not recorded.
  - readme: https://github.com/VerbalExpressions/JSVerbalExpressions (fetched 2026-08-28T04:10:51.841777+00:00, sha 4358c7ebf280)
  - homepage: http://verbalexpressions.github.io/JSVerbalExpressions/ (fetched 2026-08-29T08:12:28.429056+00:00, sha e67711f93626)
- Data as of 2026-08-30T08:39:29.467469+00:00.
