← 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
- Compiled (AOT): supported by the Elephc code generator.
eval()(magician interpreter): supported through a declarative interpreter builtin (crates/elephc-magician/src/interpreter/builtins/string/mb_ereg_search_getregs.rs).
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.