Name
eregi
Synopsis
int eregi(stringpattern
,stringstring
[, arraymatches
])
Searches string
for the regular expression
pattern
(the pattern matching is
case-insensitive). If given, the array
matches
is filled with the subpattern
matches. Returns true
if the pattern matched in
string
and false
if
not. See Chapter 4 for more information on using
regular expressions. This is a case-insensitive version of
ereg( )
.
Get Programming PHP now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.