跳转到主要内容

mb-ereg-search

Multibyte regular expression match for predefined multibyte string

ENTITY

bool

mb_ereg_search

string

null

pattern

ENTITY

string

null

options

ENTITY

Performs a multibyte regular expression match for a predefined multibyte string.

ENTITY

pattern
The search pattern.

options
The search option. See mb_regex_set_options for explanation.

ENTITY

mb_ereg_search returns ENTITY if the multibyte string matches with the regular expression, or ENTITY otherwise. The string for matching is set by mb_ereg_search_init. If pattern is not specified, the previous one is used.

ENTITY

ENTITY ENTITY
8.0.0 pattern and options are nullable now.

ENTITY ENTITY

ENTITY

mb_regex_encoding, mb_ereg_search_init