This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Rationalise RX_MATCH_UTF8_set()
authorDavid Mitchell <davem@iabyn.com>
Mon, 20 May 2013 16:04:44 +0000 (17:04 +0100)
committerDavid Mitchell <davem@iabyn.com>
Sun, 2 Jun 2013 21:28:52 +0000 (22:28 +0100)
commit0254aed965cd47adab9025a192546e4a5e63873a
treeff36e60a32bd19e86f243fa7f883932e7b6b895d
parenta8ee055f0c6d9737b2b89bbcc1111a97315373be
Rationalise RX_MATCH_UTF8_set()

Now that the RXf_MATCH_UTF8 flag on a regex is just used to indicate
whether the captures on a successful match are utf8, only set
this flag at the end of a successful match, rather than at the start of
the match.

This should make no functional difference the way things stand at the
moment, but makes things conceptually cleaner.
regexec.c