mb_regex_encoding

Set/Get character encoding for multibyte regex

&reftitle.description; ``string``bool```mb_regex_encoding` ``string``null```encoding`&null;

Set/Get character encoding for a multibyte regex.

&reftitle.parameters;

`encoding`

- &mbstring.encoding.parameter;
&reftitle.returnvalues;

If `encoding` is set, then &return.success; In this case, the internal character encoding is NOT changed. If `encoding` is omitted, then the current character encoding name for a multibyte regex is returned.

&reftitle.changelog;

&Version; | &Description;
&mbstring.changelog.encoding-nullable;

&reftitle.seealso;

- `mb_internal_encoding`
- `mb_ereg`