2017 © Pedro Peláez
 

library human-regex

Regular expressions for human beings, not machines

image

mpociot/human-regex

Regular expressions for human beings, not machines

  • Tuesday, August 30, 2016
  • by mpociot
  • Repository
  • 3 Watchers
  • 30 Stars
  • 0 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

HumanRegex

Latest Version on Packagist Software License Build Status SensioLabsInsight Quality Score Total Downloads, (*1)

Regular expressions for human beings, not machines

Installation

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');

Changelog

Please see CHANGELOG for more information what has changed recently., (*4)

Testing

bash $ composer test, (*5)

Contributing

Please see CONTRIBUTING for details., (*6)

Security

If you discover any security related issues, please email m.pociot@gmail.com instead of using the issue tracker., (*7)

Credits

License

The MIT License (MIT). Please see License File for more information., (*8)

The Versions

30/08 2016

dev-master

9999999-dev https://github.com/mpociot/human-regex

Regular expressions for human beings, not machines

  Sources   Download

MIT

The Requires

  • php >=7.0

 

The Development Requires

human-regex