mb_ereg_match

Regular expression match for multibyte string

&reftitle.description; `bool` `mb_ereg_match` `string` `pattern` `string` `string` ``string``null```options`&null;

A regular expression match for a multibyte string

`pattern` is only matched at the beginning of `string`.

&reftitle.parameters;

`pattern`

- The regular expression pattern.

`string`

- The `string` being evaluated.

`options`

- The search option. See `mb_regex_set_options` for explanation.

&reftitle.returnvalues;

Returns &true; if `string` matches the regular expression `pattern`, &false; if not.

&reftitle.changelog;

&Version; | &Description;
8.0.0 | `options` is nullable now.

&reftitle.notes; ¬e.mbstring.encoding.internal;
&reftitle.seealso;

- `mb_regex_encoding`
- `mb_ereg`