← All docs
mb_ereg_search_getpos()
Reads the current byte position in the retained multibyte regex subject.
mb_ereg_search_getpos()
function mb_ereg_search_getpos(): int
Reads the current byte position in the retained multibyte regex subject.
Parameters: none.
Returns: int
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_getpos.rs).
No examples yet. Check examples/ and showcases/ for usage patterns.
Internals
For how mb_ereg_search_getpos is implemented in the compiler, see the internals page.