mfdj / regsexy
Elegant regular expression creation and processing using clean, fluent interfaces.
Installs: 47
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 1
Forks: 0
pkg:composer/mfdj/regsexy
Requires
- php: ~5.3
Requires (Dev)
- mfdj/fluenthtml: ~0.1
This package is not auto-updated.
Last update: 2025-10-11 20:05:55 UTC
README
A library that abstracts the preg_* function family with syntactic sugar, simplicity, and consistency so you can stay up with [the haps on the craps](http://rapgenius.com/Ice-cube-it-was-a-good-day-lyrics#note-9194,'Ice Cube - Today Was a Good Day').
Features
- Lean, easy to read syntax
- Fluent interfaces
use RegSexy\RegEx; $subject = 'Cats are pretty funny I love, that, what is called… "ICanHasCheezburger?"!, ' . 'is pretty great… but *really* I\'m more of a dog person. Got 2 little Chihuahuas at home!'; var_dump( RegEx::make( '(Chihuahua|Dachsund|Corgi)s' ) ->match( $subject ) ->match );
Hat Tip
This project draws inspiration from:
License
RegSexy by Mark Fox is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.