Stephen J. Turnbull writes:
I checked what I could think of at the time. There's no reason
not
to add more if you can think of them.
The problem with regexps is that there are too many border
conditions. You could right 1,000,000 tests, and still miss one :-(
Not if you do it the way I did, fixing the bug with changes
restricted
to the compound statement controlled by the `wordbound:' label.
Ahhh, but my patch moves one `if' to the notwordbound: case, since it
does not make sense in the wordbound: case (and in fact causes the
'known bug').
Cheers,
Sean