← All docs

mb_ereg_search_getregs()

Returns the retained multibyte regex captures from the last successful progressive search.

mb_ereg_search_getregs()

function mb_ereg_search_getregs(): array|false

Returns the retained multibyte regex captures from the last successful progressive search.

Parameters: none.

Returns: array|false

Availability

No examples yet. Check examples/ and showcases/ for usage patterns.

Internals

For how mb_ereg_search_getregs is implemented in the compiler, see the internals page.