# mb-regex-encoding

mb_regex_encoding

Set/Get character encoding for multibyte regex

# 

ENTITY

string

bool

mb_regex_encoding

string

null

encoding

ENTITY

Set/Get character encoding for a multibyte regex.

# 

ENTITY

`encoding`  
ENTITY

# 

ENTITY

If `encoding` is set, then ENTITY 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.

# 

ENTITY ENTITY

# 

ENTITY

| ENTITY | ENTITY |
|--------|--------|

# 

ENTITY

`mb_internal_encoding`, `mb_ereg`