sedlex icon indicating copy to clipboard operation
sedlex copied to clipboard

Difference patterns

Open whitequark opened this issue 11 years ago • 1 comments

It would be very useful, in particular for implementing some of Unicode TR31 recommendations, to be able to have difference patterns, e.g. Diff ('a'..'z', 'q') would match any English lowercase letter except "q".

ocamllex also has this operator (named #).

whitequark avatar Dec 10 '14 00:12 whitequark

If I'm not mistaken, this has been fixed by the Sub operator in a78520c94.

yallop avatar May 20 '15 23:05 yallop

Can someone close this ?

hhugo avatar Feb 17 '23 14:02 hhugo