Revert the parts of #3926 that outlawed character ranges
authorJarkko Hietaniemi <jhi@iki.fi>
Tue, 12 Oct 1999 15:30:05 +0000 (15:30 +0000)
committerJarkko Hietaniemi <jhi@iki.fi>
Tue, 12 Oct 1999 15:30:05 +0000 (15:30 +0000)
commit1209ba901e0b2880eea69ad70613848af5543517
tree5f95fbab5155907bf49140ca545292a3e8267190
parent26744161d10595c3db74919d9b07ee8f8354b06a
Revert the parts of #3926 that outlawed character ranges
that have character classes such as \w as either endpoint.
This change re-establishes the old behavior which meant that
such ranges weren't really ranges, the "-" was literal.
Moreover, this change also fixes the old behavior to be
more consistent: [\w-.] and [\s-\w] worked, but [.-\w] didn't.
Now they all do work as described above.  The #3926 outlawed
all of those.

p4raw-id: //depot/cfgperl@4355
pod/perldiag.pod
pod/perlre.pod
regcomp.c
t/op/re_tests