Home
last modified time | relevance | path

Searched refs:last_match (Results 1 – 4 of 4) sorted by relevance

/reactos/dll/win32/jscript/
H A Djsregexp.c93 if(!(rem_flags & REM_NO_CTX_UPDATE) && ctx->last_match != jsstr) { in do_regexp_match_next()
94 jsstr_release(ctx->last_match); in do_regexp_match_next()
95 ctx->last_match = jsstr_addref(jsstr); in do_regexp_match_next()
835 … ret = jsstr_substr(ctx->last_match, ctx->match_parens[idx].index, ctx->match_parens[idx].length); in global_idx()
903 ret = jsstr_substr(ctx->last_match, 0, ctx->last_match_index); in RegExpConstr_get_leftContext()
917 ret = jsstr_substr(ctx->last_match, ctx->last_match_index+ctx->last_match_length, in RegExpConstr_get_rightContext()
918 jsstr_length(ctx->last_match) - ctx->last_match_index - ctx->last_match_length); in RegExpConstr_get_rightContext()
H A Dstring.c780 match_state_t *match = NULL, last_match = {0}; in String_replace() local
847 last_match.cp = match->cp; in String_replace()
848 last_match.match_len = match->match_len; in String_replace()
852 match = &last_match; in String_replace()
970 if(SUCCEEDED(hres) && last_match.cp && regexp) { in String_replace()
971 jsstr_release(ctx->last_match); in String_replace()
972 ctx->last_match = jsstr_addref(jsstr); in String_replace()
973 ctx->last_match_index = last_match.cp-str-last_match.match_len; in String_replace()
974 ctx->last_match_length = last_match.match_len; in String_replace()
H A Djscript.c77 if(ctx->last_match) in script_release()
78 jsstr_release(ctx->last_match); in script_release()
728 ctx->last_match = jsstr_empty(); in JScriptParse_InitNew()
H A Djscript.h436 jsstr_t *last_match; member