sam: produce empty match at the end of looped range
commit65e7bcc2cbd62e217f500ea4ee542269a0d4b2f5
authorMarc André Tanner <mat@brain-dump.org>
Mon, 25 Jan 2021 12:43:07 +0000 (25 13:43 +0100)
committerMarc André Tanner <mat@brain-dump.org>
Mon, 25 Jan 2021 13:02:31 +0000 (25 14:02 +0100)
tree6e2458e8330cbc8843b0013e858eea2e13dc7e45
parent80d0291b2ee9e7aae6683c973c263efbc02259c4
sam: produce empty match at the end of looped range

In certain cases (e.g. involving negated character classes) the last
empty match of an x command would wrongly be skipped.

See #925
sam.c