# verbalexpressions/jsverbalexpressions

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/verbalexpressions-jsverbalexpressions).**

12,149 stars · 490 forks · JavaScript · MIT

## Links

- GitHub: https://github.com/VerbalExpressions/JSVerbalExpressions
- Homepage: http://verbalexpressions.github.io/JSVerbalExpressions/
- awesome-repositories: https://awesome-repositories.com/repository/verbalexpressions-jsverbalexpressions.md

## Topics

`javascript-regular-expressions` `verbalexpressions`

## Description

JSVerbalExpressions is a JavaScript regex builder and construction library that provides a domain-specific language for assembling complex regular expressions. It replaces the use of dense string literals with a programmatic interface and readable method chains.

The library allows for the creation of search patterns and validation rules through a fluent API. This approach enables the development of regular expressions that are maintainable and easy for other developers to understand.

## Tags

### Development Tools & Productivity

- [Fluent Expression Builders](https://awesome-repositories.com/f/development-tools-productivity/regular-expressions/fluent-expression-builders.md) — Implements a fluent API for the programmatic construction of JavaScript regular expressions.
- [Readability Tooling](https://awesome-repositories.com/f/development-tools-productivity/regex-tooling/readability-tooling.md) — Ensures regular expressions are maintainable and easily understood by other developers.
- [Regular Expressions](https://awesome-repositories.com/f/development-tools-productivity/regular-expressions.md) — Provides a library for programmatically building and composing regular expressions. ([source](https://github.com/verbalexpressions/jsverbalexpressions#readme))
- [Domain Specific Languages](https://awesome-repositories.com/f/development-tools-productivity/regular-expression-libraries/domain-specific-languages.md) — Provides a domain-specific language that transforms readable function calls into valid regular expressions.

### Part of an Awesome List

- [Pattern Matching Implementations](https://awesome-repositories.com/f/awesome-lists/devtools/design-patterns-and-architecture/javascript-implementations/pattern-matching-implementations.md) — Provides an intuitive syntax for defining text search and validation rules within JavaScript.
- [Regex and Pattern Matching](https://awesome-repositories.com/f/awesome-lists/devtools/regex-and-pattern-matching.md) — Offers a programmatic interface for assembling search patterns without manual escaping.
- [Expression Builders](https://awesome-repositories.com/f/awesome-lists/devtools/regex-and-pattern-matching/expression-builders.md) — Provides a builder-based approach to assemble regex patterns using temporary fragment lists.

### Software Engineering & Architecture

- [Deferred Compilation](https://awesome-repositories.com/f/software-engineering-architecture/deferred-compilation.md) — Implements a deferred compilation strategy where the final RegExp is only created when explicitly requested.
- [Fluent Interfaces](https://awesome-repositories.com/f/software-engineering-architecture/fluent-interfaces.md) — Uses a fluent interface pattern with chained method calls to build the regex state.
