mhor / regex-tester

PHP tools to check your regex on cli

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

#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

About

PHP tools to check your regex on cli

License:MIT License


Languages

Language:PHP 100.0%