awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
francisrstokes avatar

francisrstokes/super-expressive

0
View on GitHub↗
4,615 stars·136 forks·JavaScript·MIT·13 views

Super Expressive

Super-expressive is a zero-dependency JavaScript library and domain-specific language used to construct complex regular expressions. It functions as a pattern generator that uses natural language syntax to produce native regular expression objects or strings, supporting international text standards through Unicode property matching.

The library replaces manual string manipulation and escaping with a method-chaining fluent interface. It allows for modular expression composition, enabling the creation of reusable pattern hierarchies where existing expression instances can be nested as subexpressions.

The tool covers a broad range of matching primitives, including anchor constraints, capture groups, quantifiers, and lookaround assertions. It also provides utilities for character class and set definitions, as well as the configuration of global matching flags like case-insensitivity and multiline mode.

Features

  • Regular Expression Builders - Provides a programmatic API to build complex regular expressions using readable helper methods.
  • Modular Compositions - Provides the ability to nest expression instances as subexpressions to create reusable and modular pattern hierarchies.
  • Native Exports - Generates final patterns as native JavaScript regular expression objects or strings for immediate use.
  • Readable Regex Constructors - Implements a domain-specific language with natural-language helpers to define regular expressions.
  • Unicode Property Matching - Generates patterns that support international text standards through Unicode property matching.
  • Expression Nesting - Allows existing expression instances to be nested as subexpressions to build reusable pattern hierarchies.
  • Fluent Interfaces - Provides a method-chaining fluent interface for constructing complex regex patterns intuitively.
  • Lookaround Assertions - Implements lookahead and lookbehind assertions to verify surrounding context without consuming characters.
  • Modular Pattern Sets - Facilitates the creation of reusable and modular subexpressions to organize complex matching logic.
  • Character Class Matching - Identifies predefined character types such as digits and whitespace using shorthand notation.
  • Positional Constraints - Provides mechanisms to restrict matches to the start or end of an input or line.
  • Character Range Definitions - Defines custom character sets and ranges to match any single character from a specified list.
  • Intermediate Representations - Implements an internal data structure to represent regex components before final string generation.
  • Deferred Serialization - Defers the conversion of the internal expression tree into a native regular expression string until the final export.
  • Named Capture Groups - Organizes match elements into named or unnamed capture groups for structured data extraction.
  • Regex Flags - Supports configuring global regular expression behaviors such as case-insensitivity and multiline mode.
  • Unicode Text Handling - Supports multi-language text processing by matching characters based on Unicode properties.
  • Zero-Dependency Libraries - Provides a lightweight, zero-dependency implementation for generating regular expressions in JavaScript.
  • String Pattern Validators - Enables the definition of precise patterns for verifying that input strings follow specific required formats.

Star history

Star history chart for francisrstokes/super-expressiveStar history chart for francisrstokes/super-expressive

How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Frequently asked questions

What does francisrstokes/super-expressive do?

Super-expressive is a zero-dependency JavaScript library and domain-specific language used to construct complex regular expressions. It functions as a pattern generator that uses natural language syntax to produce native regular expression objects or strings, supporting international text standards through Unicode property matching.

What are the main features of francisrstokes/super-expressive?

The main features of francisrstokes/super-expressive are: Regular Expression Builders, Modular Compositions, Native Exports, Readable Regex Constructors, Unicode Property Matching, Expression Nesting, Fluent Interfaces, Lookaround Assertions.

Which projects share features with francisrstokes/super-expressive?

Projects with overlapping indexed features include: yoav-lavi/melody — Melody is a regular expression transpiler and pattern compiler that translates a high-level, human-readable syntax… unjs/magic-regexp — magic-regexp is a type-safe regular expression builder and TypeScript compiler. It allows for the construction of… oils-for-unix/oils — Oils is a Unix shell interpreter and scripting language runtime that combines a modern shell language with POSIX and… rust-lang/regex — This is a Rust regular expression library that provides a finite automata engine for searching and matching text… google/codesearch — Codesearch is an indexed code search engine and large-scale source indexer designed to execute regular expressions… rest-assured/rest-assured — Rest-assured is a Java-based REST API testing framework and HTTP client library designed for automating web service…

Projects sharing features with Super Expressive

These projects share indexed features with Super Expressive. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
  • yoav-lavi/melodyyoav-lavi avatar

    yoav-lavi/melody

    4,747View on GitHub↗

    Melody is a regular expression transpiler and pattern compiler that translates a high-level, human-readable syntax into standard regular expressions. It functions as a tool to simplify the creation and maintainability of complex matching patterns. The project provides a specialized syntax for defining reusable variables and macros to reduce duplication within expressions. It includes native support for mapping specialized labels to Unicode category properties and automatically handles the escaping of literal text. The system is accessible through several interfaces, including a command-line

    Rust
    View on GitHub↗4,747
  • unjs/magic-regexpunjs avatar

    unjs/magic-regexp

    4,331View on GitHub↗

    magic-regexp is a type-safe regular expression builder and TypeScript compiler. It allows for the construction of JavaScript regular expressions using a readable syntax that automatically generates precise types for captured groups, ensuring predictable data extraction. The project functions as a build-time transformer that converts custom pattern syntax into standard regular expression objects. This static compilation removes runtime overhead by shifting the transformation logic to the build process. The tool covers named capture group generation and a readable construction API that replace

    TypeScripthacktoberfestregexregexp
    View on GitHub↗4,331
  • oils-for-unix/oilsoils-for-unix avatar

    oils-for-unix/oils

    3,288View on GitHub↗

    Oils is a Unix shell interpreter and scripting language runtime that combines a modern shell language with POSIX and Bash compatibility. It functions as a structured data shell, integrating JSON and J8 formats to manage complex data without relying on string parsing. The system is distinguished by a C++ transpiled interpreter that converts a subset of Python source code into strongly typed C++ for high-performance execution. It features a garbage-collected typed runtime that supports prototype-based polymorphism, lexical closures, and reference-based variable mutation. To decouple shell logic

    Python
    View on GitHub↗3,288
  • rust-lang/regexrust-lang avatar

    rust-lang/regex

    3,978View on GitHub↗

    This is a Rust regular expression library that provides a finite automata engine for searching and matching text patterns. It functions as a Unicode-compliant text scanner designed to guarantee linear time execution on all inputs to prevent catastrophic backtracking. The engine supports both single and multi-pattern search capabilities, allowing it to scan a piece of text for multiple regular expressions simultaneously. It operates on both strings and raw byte slices to identify matching text segments. The library covers text parsing, string validation, and pattern searching. It includes cap

    Rustautomataautomatondfa
    View on GitHub↗3,978
Compare all 30 related projects→