Minor update related to the previous commit
Some checks are pending
/ build (macos-latest, 3.8) (push) Waiting to run
/ build (ubuntu-latest, pypy-2.7) (push) Waiting to run
/ build (windows-latest, 3.14) (push) Waiting to run

This commit is contained in:
Miroslav Štampar 2026-06-11 18:28:33 +02:00
parent bc9e51a551
commit a100496ec0
3 changed files with 4 additions and 4 deletions

View file

@ -3283,7 +3283,7 @@ def findDynamicContent(firstPage, secondPage):
suffix = suffix[:DYNAMICITY_BOUNDARY_LENGTH]
for _ in (firstPage, secondPage):
match = re.search(r"(?s)%s(.+)%s" % (re.escape(prefix), re.escape(suffix)), _)
match = re.search(r"(?s)%s(.+?)%s" % (re.escape(prefix), re.escape(suffix)), _)
if match:
infix = match.group(1)
if infix[0].isalnum():