-
Restored the recursive
infix_notationimplementation from pyparsing 3.3.2 to preserve operator matching, token nesting, and results names (issues #672 and #674), as well as previous railroad diagram construction. Deeply nested infix notation expressions may again run into Python's recursion limit. -
Fixed
nested_exprsoParserElement.ignore()skips matches inside the list. In 3.3.3 the stack-based parser kept those matches as tokens, and a match placed immediately before the closer failed the parse. Fixes #693, submitted by WU Leizhi et AI. (issues #693 and #695; see PR #694 and regression test added in PR #697 submitted by ekanshul) -
Restored scalar result-name behavior for a single optional repetition (issue #674, PR #682), while retaining iterative handling for larger bounds. PR submitted by fhgffy.
-
Fixed
Eachignoring maximum counts on bounded repetition expressions, submitted by Sskift et AI. (PR #715). -
Fixed exponential regex backtracking in
quoted_string,dbl_quoted_string,sgl_quoted_string,python_quoted_string, andQuotedStringwith an end quote of 3 or more characters, when parsing a string with no closing quote. PR #725 submitted by kumkuma78. Similar solution provided in PR #656, along with additional unit testing, submitted by Guillermo Garcia. -
Fixed handling of octal, hex, and Unicode escapes in parsing quoted strings. PR #684, submitted by Priyansh Kansara.
-
Fixed empty-match detection for compiled
Regexpatterns and callables returning them, preventing extra matches past end of input; submitted by Sskift et AI. -
Fixed
make_compressed_re()consuming generators and iterators during input validation; submitted by Sskift et AI. -
Performance and memory optimization when exceptions are raised with packrat parsing enabled. PR #701 submitted by Afonso Ribiero.
-
Fixed HTML escaping of parser element names in railroad diagrams generated by
create_diagram; names were previously written into the page headings as raw markup. PR #730 submitted by Karan Kumar et AI.