(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:
patternse asocia únicamente al inicio destring.
patternLa expresión regular.
stringEl string a evaluar.
optionsLa 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.