PHPVerbalExpressions - the easiest way to start with Regular Exp... > stdout.in Ievgen Kuzminov IT blog
Note

PHPVerbalExpressions - the easiest way to start with Regular Expressions. Write it in OOP way

$regex=new VerbalExpressions;
$regex ->startOfLine()
        ->then("http")
        ->maybe("s")
        ->then("://")
        ->maybe("www.")
        ->anythingBut(" ")
        ->endOfLine();
$regex->test("http://d.com")

A lot of implementations on other languages exist

comments powered by Disqus
Ievgen
Kuzminov "iJackUA"
Web Team Lead
at MobiDev (Kharkiv, Ukraine)
Code in Ruby and Elixir, but still love PHP. Explore ES6 and Vue.js. Explore databases, use Ubuntu and MacOS, think about IT people and management

Notes


PHP 5.*~>7, Windows 8~>10, Node.JS 0.12.*~>4.0 ... ok that's a nice move :D Linux, maybe 4.2 ~> 42 ? Because "who really cares?" :)



awesome-selfhosted list. Selfhosting is the process of locally hosting and managing applications instead of renting from SaaS providers. This is a list of Free Software network services and web applications which can be hosted locally.