opis/pattern

This package is abandoned and no longer maintained. The author suggests using the opis/utils package instead.

A library that will help you defining patterns and build a valid regex for them

1.0.0 2018-05-30 09:39 UTC

This package is auto-updated.

Last update: 2020-06-09 21:13:20 UTC


README

Build Status Latest Stable Version Latest Unstable Version License

Build RegEx from customizable patterns.

Documentation

Documentation and examples can be found here.

License

Opis Pattern is licensed under the Apache License, Version 2.0.

Requirements

  • PHP 7.0 or higher

Installation

This library is available on Packagist and can be installed from a command line interface by using Composer.

composer require opis/pattern

Or you could directly reference it into your composer.json file as a dependency

{
    "require": {
        "opis/pattern": "^1.0.0"
    }
}