Revert "'use utf8' should imply /u regex matching"
authorKarl Williamson <public@khwilliamson.com>
Tue, 4 Feb 2014 17:43:42 +0000 (10:43 -0700)
committerKarl Williamson <public@khwilliamson.com>
Tue, 4 Feb 2014 17:56:50 +0000 (10:56 -0700)
commitc51dd9764ab2bb731019f57d26a2dce3153d2e70
tree15a1e04f550ee2633cbf0f5839cab2cfb201eef9
parent4637d0070a640fd41ccad2223b4717781a5ea681
Revert "'use utf8' should imply /u regex matching"

This reverts commit bfa0ee78b652802412c3cab86bb873ed67ea6550.

This commit turned out to be contentious, and since we are past the
contentious features freeze date, no matter what else, it should be
reverted.

The argument for the commit essentially boils down to 'use utf8'
indicates that the text within its scope should be treated as utf8.
That means that any patterns with literals in them should be treated as
utf8, but utf8-encoded patterns follow Unicode rules by definition.

The arguments against it are that code relies on the way it has always
worked (even if that was an oversight), and in fact several CPAN modules
were broken by it, [perl #121162].  Also it has been the stated intent
that 'use utf8' will eventually become a no-op, meaning all text will be
treated as utf8, and that shouldn't have to mean that backwards
compatibility will be broken then.
regcomp.c
t/re/pat.t