Closed leahneukirchen closed 7 months ago
yes indeed
I'm also not entirely sure the end
must be within the string length, it mostly makes code more complex?
yeah we can relax the contract. Care for a pr?
My understanding is that in pregexp.scm
line 706, we only need (<= 0 start str-len)
and if the start
is same as str-len
that just means empty (sub)string which is allowed to match some regexps.
This fails:
It's probably too strict?