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
ziishaned avatar

ziishaned/learn-regex

0
View on GitHub↗
46,092 stars·6,163 forks·MIT·18 viewsgum.co/learn-regex↗

Learn Regex

This project is a regular expression learning resource and tutorial designed to teach the syntax and logic used to find, match, and manipulate text strings. It serves as a comprehensive guide and syntax reference for building complex search queries and data validation logic.

The material covers the use of meta-characters, quantifiers, and boundary markers to define precise text match patterns. It includes instructional content on the logic of greedy and lazy matching, as well as the implementation of capture groups.

The resource details a wide range of pattern matching capabilities, including lookaround assertions, shorthand character classes, logical alternation, and character set definition. It also addresses text extraction and the use of flags to modify search behavior.

Features

  • Pattern Matching - Serves as a comprehensive guide to using regular expressions for pattern matching.
  • Regular Expression Syntax Guides - Studying the syntax and logic of regular expressions to find, match, and manipulate text strings within an application.
  • Tool-Use Patterns - Provides a comprehensive reference for using shorthand character sets to match digits, alphanumeric characters, and whitespace.
  • Text Pattern Matching - Provides a comprehensive guide for creating search patterns using literal characters and meta-characters.
  • Capture Group Implementation - Details how to capture text within grouped subpatterns for use in applications.
  • Learning Resources - An instructional resource on building complex search queries using logical operators and character sets.
  • Regex Tutorials - Offers a detailed breakdown of regex syntax including lookaround assertions and shorthand classes.
  • Regular Expressions - Serves as a comprehensive learning resource covering capture groups and matching logic.
  • Capture Groups - Provides detailed instruction on implementing capture groups for text extraction.
  • Character Classes - Teaches how to define character sets and ranges for precise text matching.
  • Repetition Quantifiers - Explains how to specify the number of times a character or group must repeat.
  • Subpattern Grouping - Instructs on clustering subpatterns to apply quantifiers or extract specific text segments.
  • Regex Quantifiers - Provides a detailed reference for using quantifiers to define character and group repetitions.
  • Position Constraints - Covers how to ensure patterns match only at the absolute beginning or end of input.
  • Regex Extraction Utilities - Teaches how to use capture groups and sub-patterns to extract structured data from unstructured text.
  • Regex Engine Tuning - Covers the logic of greedy and lazy matching and the use of flags to modify search behavior.
  • Greedy and Lazy Matching - Teaches the critical distinction between greedy and lazy quantification in pattern matching.
  • Logical Alternation - Explains how to find multiple variations of a pattern using the logical OR operator.
  • Lookaround Assertions - Details the use of lookaround assertions to create precise text match patterns.
  • Non-Consuming Assertions - Provides instruction on performing lookaround assertions for conditional pattern matching.
  • Regex Alternation - Covers the use of logical alternation to match various forms of a text pattern.
  • Boundary Markers - Teaches how to use boundary markers to restrict matches to the beginning or end of strings.
  • Greediness Control - Explains the logic of choosing between the longest and shortest possible matches.
  • Input Validation Rules - Explains how to define precise regular expression rules for validating input lengths and formats.
  • Regular Expressions - Interactive guide to mastering regular expression syntax.

Star history

Star history chart for ziishaned/learn-regexStar history chart for ziishaned/learn-regex

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

Projects sharing features with Learn Regex

These projects share indexed features with Learn Regex. 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
  • google/re2google avatar

    google/re2

    9,699View on GitHub↗

    re2 is a C++ regular expression library designed for high-performance text processing. It is a non-backtracking regex engine that provides linear-time pattern matching, ensuring that execution time remains proportional to the size of the input string regardless of the pattern used. The library supports UTF-8 and Latin-1 text encodings for searching and extracting substrings. It includes capabilities for multi-pattern optimization, allowing multiple regular expressions to be combined into a single representation to scan text for several patterns in one pass. The project covers core regex oper

    C++
    View on GitHub↗9,699
  • pemistahl/grexpemistahl avatar

    pemistahl/grex

    8,135View on GitHub↗

    Grex is a regular expression generator and Rust pattern library that synthesizes a single regular expression from a set of provided text test cases. It functions as a command-line tool and a library, utilizing a Rust-based engine to analyze commonalities across input strings to create matching patterns. The project distinguishes itself through Unicode-aware grapheme processing, ensuring consistent matching across diverse character sets and non-ASCII text. It also provides Python bindings to make its core Rust logic available within Python environments. The system covers pattern generalizatio

    Rustclicommand-line-toolpython
    View on GitHub↗8,135
  • carp-lang/carpcarp-lang avatar

    carp-lang/Carp

    5,815View on GitHub↗

    Carp is a statically typed Lisp compiler that compiles Lisp-like syntax directly to C source code, enabling seamless integration with existing C libraries and low-level system programming. It manages memory deterministically at compile time using ownership tracking and linear types, eliminating garbage collection pauses and runtime overhead while ensuring type safety through an inferred static type system. The language distinguishes itself through compile-time macro expansion and metaprogramming capabilities, allowing code generation and transformation before final binary output. It enforces

    Haskellfunctionalfunctional-programminggame-development
    View on GitHub↗5,815
Compare all 30 related projects→

Frequently asked questions

What does ziishaned/learn-regex do?

This project is a regular expression learning resource and tutorial designed to teach the syntax and logic used to find, match, and manipulate text strings. It serves as a comprehensive guide and syntax reference for building complex search queries and data validation logic.

What are the main features of ziishaned/learn-regex?

The main features of ziishaned/learn-regex are: Pattern Matching, Regular Expression Syntax Guides, Tool-Use Patterns, Text Pattern Matching, Capture Group Implementation, Learning Resources, Regex Tutorials, Regular Expressions.

Which projects share features with ziishaned/learn-regex?

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… google/re2 — re2 is a C++ regular expression library designed for high-performance text processing. It is a non-backtracking regex… pemistahl/grex — Grex is a regular expression generator and Rust pattern library that synthesizes a single regular expression from a… carp-lang/carp — Carp is a statically typed Lisp compiler that compiles Lisp-like syntax directly to C source code, enabling seamless… nlp-compromise/compromise — Compromise is a natural language processing library and rule-based engine designed for English text manipulation,… norvig/paip-lisp — This project is a comprehensive Lisp AI implementation library that provides reference implementations for various…