MB_EREG_SEARCH(3) 1 MB_EREG_SEARCH(3)
mb_ereg_search - Multibyte regular expression match for predefined multibyte string
SYNOPSIS
bool mb_ereg_search ([string $pattern], [string $option = "ms"])
DESCRIPTION
Performs a multibyte regular expression match for a predefined multibyte string.
PARAMETERS
o $pattern
- The search pattern.
o $option
- The search option.
RETURN VALUES
mb_ereg_search(3) returns TRUE if the multibyte string matches with the regular expression, or FALSE otherwise. The string for matching is
set by mb_ereg_search_init(3). If $pattern is not specified, the previous one is used.
NOTES
Note
The internal encoding or the character encoding specified by mb_regex_encoding(3) will be used as the character encoding for this
function.
SEE ALSO
mb_regex_encoding(3), mb_ereg_search_init(3).
PHP Documentation Group MB_EREG_SEARCH(3)