Closed GoogleCodeExporter closed 9 years ago
Hi,
I think, there may some problem in caseless matching, it may or may not be a
valid match using the full casefolding, but here it also matches in V0:
>>> regex.findall(ur"(?V1i)K", u"\N{KELVIN SIGN}")
[u'\u212a']
>>> regex.findall(ur"(?V1)K", u"\N{KELVIN SIGN}")
[]
>>> regex.findall(ur"(?V0i)K", u"\N{KELVIN SIGN}")
[u'\u212a']
>>> regex.findall(ur"(?V0)K", u"\N{KELVIN SIGN}")
[]
>>>
I am not sure, whether there might be some other characters with such behaviour.
vbr
Original comment by Vlastimil.Brom@gmail.com
on 23 Feb 2012 at 4:20
Please see the following URL:
http://perl5.git.perl.org/perl.git/commitdiff/ea317ccb31f6a2617f030e911668f46874
f7dacb
Original comment by msm...@gmail.com
on 23 Feb 2012 at 4:39
Fixed in regex 0.1.20120301.
Original comment by re...@mrabarnett.plus.com
on 1 Mar 2012 at 9:07
Original comment by re...@mrabarnett.plus.com
on 1 Mar 2012 at 9:07
Original issue reported on code.google.com by
msm...@gmail.com
on 22 Feb 2012 at 2:16