PHP tools to check your regex on cli
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
src/RegexTester
test
.coveralls.yml
.gitignore
.travis.yml
LICENSE
README.md
box.json
composer.json
composer.lock
phpunit.xml.dist

README.md

#Regex Tester Build Status Scrutinizer Code Quality Coverage Status

##Configuration file example

[
    {
        "find": true,
        "subject": "mhor@gmail.com"
    },
    {
        "find": false,
        "subject": "mhor@gmail"
    },
    {
        "find": false,
        "subject": "regular@mail.com"
    }
]

##Using

$ bin/regex-tester "#^[a-z0-9._-]+@[a-z0-9._-]{2,}\.[a-z]{2,4}\$#" test/fixtures/regexTest.json

Will produce:

example

##LICENSE See LICENSE for more information