mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-30 22:25:23 +01:00
Use upstream bug fix for regex engine
This commit is contained in:
parent
c1920935d5
commit
402bd2bb77
2 changed files with 2 additions and 2 deletions
|
|
@ -225,7 +225,7 @@
|
|||
"V0", "VERSION0", "V1", "VERSION1", "X", "VERBOSE", "W", "WORD", "error",
|
||||
"Regex"]
|
||||
|
||||
__version__ = "2.4.36"
|
||||
__version__ = "2.4.37"
|
||||
|
||||
# --------------------------------------------------------------------
|
||||
# Public interface.
|
||||
|
|
|
|||
|
|
@ -13232,7 +13232,6 @@ Py_LOCAL_INLINE(BOOL) state_init_2(RE_State* state, PatternObject* pattern,
|
|||
|
||||
state->groups = NULL;
|
||||
state->repeats = NULL;
|
||||
state->req_pos = -1;
|
||||
state->visible_captures = visible_captures;
|
||||
state->match_all = match_all;
|
||||
state->backtrack_block.previous = NULL;
|
||||
|
|
@ -13248,6 +13247,7 @@ Py_LOCAL_INLINE(BOOL) state_init_2(RE_State* state, PatternObject* pattern,
|
|||
state->first_group_call_frame = NULL;
|
||||
state->current_group_call_frame = NULL;
|
||||
state->group_call_guard_list = NULL;
|
||||
state->req_pos = -1;
|
||||
|
||||
/* The call guards used by recursive patterns. */
|
||||
if (pattern->call_ref_info_count > 0) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue