Questions tagged [posix-ere]

The UNIX/Linux egrep command utilizes the POSIX Extended Regular Expression as its regex flavor of choice.

New PHP 5.3 solution to replace ereg and eregi functions

Forgive my ignorance but regex code is beyond my comprehension. I came across this function in a php module that was not authored by me: function isURL($url = NULL) { if($url == NULL) return false; $protocol = '(http://|https://)'; $allowed ...