diff options
author | Karl Williamson <public@khwilliamson.com> | 2011-03-18 08:36:17 -0600 |
---|---|---|
committer | Karl Williamson <public@khwilliamson.com> | 2011-03-18 09:18:00 -0600 |
commit | dd58aee1a749e6188a04cac2e4ba58a7004c1ec1 (patch) | |
tree | 49bd56e35c794fe000447b3aff2d9d0a6ee3dc11 /perlsfio.h | |
parent | fff7535cca3d7faa5b59aa82de74bd71e938ea92 (diff) | |
download | perl-dd58aee1a749e6188a04cac2e4ba58a7004c1ec1.tar.gz |
regex: Fix locale regression
Things like \S have not been accessible to the synthetic start class
under locale matching rules. They have been placed there, but the
start class didn't know they were there.
This patch sets ANYOF_CLASS in initializing the synthetic start class
so that downstream code knows it is a charclass_class, and removes
the code that partially allowed this bit to be shared, and which isn't
needed in 5.14, and more thought would have to go into doing it than
was reflected in the code.
I can't come up with a test case that would verify that this works,
because of general locale testing issues, except it looked at a dump of
the generated regex synthetic start class, but the dump isn't the same
thing as the real behavior, and using one is also subject to breakage if
the regex code changes in the slightest.
Diffstat (limited to 'perlsfio.h')
0 files changed, 0 insertions, 0 deletions