develooper Front page | perl.perl5.porters | Postings from June 2011

\N{ff} =~ /[f][f]/i

Thread Next
From:
Ricardo Signes
Date:
June 23, 2011 17:02
Subject:
\N{ff} =~ /[f][f]/i
Message ID:
20110624000151.GA25189@cancer.codesimply.com

I think this was mentioned in a previous thread, but it's hard to search for.

Is it of any interest (i.e., is it a bug) that this matches:

  /\N{LATIN SMALL LIGATURE FF}/ =~ /ff/u

...but this does not...

  /\N{LATIN SMALL LIGATURE FF}/ =~ /[f][f]/u

?

I realize that this is a tortured case.

-- 
rjbs

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About