mb_ereg_search_getpos
mb_ereg_search_init
Multibyte String 함수 목록
PHP Manual

# mb_ereg_search_getregs

(PHP 4 >= 4.2.0, PHP 5)

mb_ereg_search_getregs — Retrieve the result from the last multibyte regular expression match

### 설명

array mb_ereg_search_getregs ( void )

Retrieve the result from the last multibyte regular expression match

### 인수

이 함수는 인수가 없습니다.

### 반환값

An array including the sub-string of matched part by last mb_ereg_search(), mb_ereg_search_pos(), mb_ereg_search_regs(). If there are some matches, the first element will have the matched sub-string, the second element will have the first part grouped with brackets, the third element will have the second part grouped with brackets, and so on. It returns `FALSE` on error;

### 주의

> Note: 내부 인코딩이나 mb_regex_encoding()으로 정의한 문자 인코딩을 이 함수의 문자 인코딩으로 사용할 수 있습니다.

### 참고

- mb_regex_encoding() - Returns current encoding for multibyte regex as string
- mb_ereg_search_init() - Setup string and regular expression for a multibyte regular expression match

mb_ereg_search_getpos
mb_ereg_search_init
Multibyte String 함수 목록
PHP Manual