dev-master
9999999-dev https://github.com/mpociot/human-regexRegular expressions for human beings, not machines
MIT
The Requires
- php >=7.0
The Development Requires
human-regex
Wallogit.com
2017 © Pedro Peláez
Regular expressions for human beings, not machines
You can install the package via composer:, (*2)
``` bash composer require mpociot/human-regex, (*3)
## Usage ``` php $regex = HumanRegex::create() ->alphanumerics() ->then('-') ->digits()->exactly(4) ->then('-') ->digits()->exactly(2) ->then('-') ->digits()->exactly(2) ->then('.') ->thenEither('mov')->or('mp4'); $regex->matches('foobar-2016-08-29.mp4');
Please see CHANGELOG for more information what has changed recently., (*4)
bash
$ composer test, (*5)
Please see CONTRIBUTING for details., (*6)
If you discover any security related issues, please email m.pociot@gmail.com instead of using the issue tracker., (*7)
The MIT License (MIT). Please see License File for more information., (*8)
Regular expressions for human beings, not machines
MIT
human-regex