Skip to content

Commit

Permalink
update bounce binlog regex to allow multiple bounce discards
Browse files Browse the repository at this point in the history
  • Loading branch information
samualtnorman committed Jan 7, 2025
1 parent 30a3444 commit 2243067
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/parseBinlog.ts
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ export function* parseBinlog(binlog: string[]): Generator<BinlogEntry, void, und
}

if (binlog[0][7] == `?`) {
assert(/^`n--` [ad]\? \/ \?[&%+!^#] x[0-5a]/.test(binlog[0]), HERE)
assert(/^`n--` [ad]\? \/ (?:\?[&%+!^#] )+x[0-5a]/.test(binlog[0]), HERE)
binlog.shift()
assert(binlog[0], HERE)
}
Expand Down

0 comments on commit 2243067

Please sign in to comment.