On 02/20/2012 11:21 AM, karl williamson (via RT) wrote: Here is a patch for this bug, that was just spotted by Yves. This bug has existed in all of 5.14. Should this go into 5.16? > ----------------------------------------------------------------- > Setting flags in a regular expression using the (?foo:...) notation > loses any passed in character set. for example through the -E flag. > So, > perl -E ' "\xe0" =~ /(?i:\w)/' > fails because the ?i: destroys the memory that the -E was used, which > should have forced Unicode semantics on the Latin1 character \xe0. > > Spotted by Yves Orton > -----------------------------------------------------------------Thread Previous | Thread Next