NAME ^

php_pcre.pir - PHP pcre Library

DESCRIPTION ^

Functions ^

array preg_grep(string regex, array input [, int flags])

Searches array and returns entries which match regex

NOT IMPLEMENTED.

int preg_last_error()

Returns the error code of the last regexp execution.

int preg_match(string pattern, string subject [, array subpatterns [, int flags [, int offset]]])

Perform a Perl-style regular expression match

STILL INCOMPLETE (see pcre_match_impl).

int preg_match_all(string pattern, string subject, array subpatterns [, int flags [, int offset]])

Perform a Perl-style global regular expression match

STILL INCOMPLETE (see pcre_match_impl).

string preg_quote(string str [, string delim_char])

Quote regular expression characters plus an optional character

string preg_replace(mixed regex, mixed replace, mixed subject [, int limit [, count]])

Perform Perl-style regular expression replacement.

NOT IMPLEMENTED.

string preg_replace_callback(mixed regex, mixed callback, mixed subject [, int limit [, count]])

Perform Perl-style regular expression replacement using replacement callback.

NOT IMPLEMENTED.

array preg_split(string pattern, string subject [, int limit [, int flags]])

Split string into an array using a perl-style regular expression as a delimiter

NOT IMPLEMENTED.


parrot