Skip to content

Simple Regex is a lightweight, dependency-free PHP library that simplifies regular expressions with an intuitive syntax. It offers powerful pattern matching without the complexity of raw regex, making it ideal for common text processing tasks. Perfect for developers seeking a cleaner, more maintainable approach to pattern matching in PHP.

License

Notifications You must be signed in to change notification settings

theperfectwill/php-lib-simple-regex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHP Version License

Simple Regex - Simplified Regex Matching for PHP

A lightweight dependency free PHP library that makes regular expressions more approachable and easier to use. Simple Regex provides an intuitive syntax for common pattern matching tasks, making it perfect for developers who want powerful pattern matching without the complexity of raw regex. https://theperfectwill.business/github/projects/php-lib-simple-regex

Features

  • Dependency-Free: Zero external dependencies
  • Intuitive Syntax: Use simple, memorable patterns instead of complex regex
  • Developer Friendly: Readable patterns that are easy to understand and maintain
  • Complex Pattern Support: Handles complex patterns including character classes, alternations, and more
  • Caching: Pattern caching provided for improved performance
  • Extensible: Easy to extend with custom pattern handlers

Simplify regex pattern matching in PHP with an intuitive syntax and robust feature set. Good for common pattern matching tasks like routing, file matching, input validation, and more.

Requirements

  • PHP 7.4 or higher
  • Composer (for installation)

Installation

Install via Composer (to your chosen directory):

composer require theperfectwill/php-lib-simple-regex

Testing

Run the test suite (while in this project directory):

composer test

About

Simple Regex is a lightweight, dependency-free PHP library that simplifies regular expressions with an intuitive syntax. It offers powerful pattern matching without the complexity of raw regex, making it ideal for common text processing tasks. Perfect for developers seeking a cleaner, more maintainable approach to pattern matching in PHP.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages