mirror of
https://github.com/bellard/quickjs.git
synced 2025-09-30 23:07:42 +03:00
regexp: fixed the zero advance logic in quantifiers (github issue #158)
This commit is contained in:
@@ -50,8 +50,7 @@ DEF(range32, 3) /* variable length */
|
||||
DEF(lookahead, 5)
|
||||
DEF(negative_lookahead, 5)
|
||||
DEF(push_char_pos, 1) /* push the character position on the stack */
|
||||
DEF(bne_char_pos, 5) /* pop one stack element and jump if equal to the character
|
||||
position */
|
||||
DEF(check_advance, 1) /* pop one stack element and check that it is different from the character position */
|
||||
DEF(prev, 1) /* go to the previous char */
|
||||
DEF(simple_greedy_quant, 17)
|
||||
|
||||
|
Reference in New Issue
Block a user