Am Samstag, 21. März 2009 17:47:59 schrieben Sie:
> perl -e "print ('Mär' =~ /^\w+$/)"
>
> prints undef.
>
> however,
>
> perl -Mutf8 -e "print ('Mär' =~ /^\w+$/) , qq[\n\n]"
>
> works, so i'm guessing we just need to through a "use utf8" into the
> test or something?
Good guess! Everything as pre
Adam Prime wrote:
This looks like a localization thing to me. I'm guessing that on your
system for some reason ^\w+$ doesn't match against 'Mär'. It fails on
my gentoo box too:
perl -e "print ('Mär' =~ /^\w+$/)"
prints undef.
however,
perl -Mutf8 -e "print ('Mär' =~ /^\w+$/) , qq[\n\n]"
Oliver Block wrote:
1. Problem Description:
Failed Test Stat Wstat Total Fail List of Failed
---
t/apache/util.t84 1-4
8 tests and 1 subtest skipped.
Failed 1/246 test scripts. 4/2496 subtests f