Alex Shinn scripsit:
Okay, I can live with that. But normalizing an SRE is not a matter of
> Normalization was in the early issues and dismissed because of lack
> of implementation support and unclear costs in new implementations.
> I think good recommended practice for now is to just normalize both
> inputs and patterns separately.
normalizing the strings in the SRE: indeed, that will break it.
So at the very least I think a normalize-sre procedure must be provided that
takes an SRE and does the nitty-gritty of selectively expanding charsets
into disjunctions of sequences.