(PHP 4 >= 4.2.0, PHP 5, PHP 7, PHP 8)
mb_ereg_match — Expresión regular POSIX para strings multibyte
Ejecuta la expresión regular POSIX para strings multibyte.
Nota:
pattern
se asocia únicamente al inicio destring
.
pattern
La expresión regular.
string
El string a evaluar.
options
La opción de búsqueda. Para más explicaciones, consulte mb_regex_set_options().
string
retorna true
si
string
verifica la expresión regular
pattern
, false
en caso contrario.
Versión | Descripción |
---|---|
8.0.0 |
options ahora es nullable.
|
Nota:
The internal encoding or the character encoding specified by mb_regex_encoding() will be used as the character encoding for this function.