in reply to Re: regex won't match with utf8 enabled...
in thread regex won't match with utf8 enabled...

Oops, sorry, I forgot to mention: I tested it under 5.8.0 myself. We all got 6.8.0 on our laptops, but the production machine will run 5.6.1 later on. And it seems, nobody tests his code very often on the development environment... ;-)

About the escaped '?': I know, but it's maintainable code, so I prefer not to let someone guess if that ? is a ? or something special. That's also the reason for the two qr// which make up this regex. All regexes are simple and are in qr so no quoting subtles can arise...

BTW: Thanks

  • Comment on Re: Re: regex won't match with utf8 enabled...