I'm puzzled by this perl behaviour
Terrence Enger
tenger-ew0EfhANLmVEfu+5ix1nRw at public.gmane.org
Sun Sep 21 00:00:41 UTC 2003
At 16:05 2003-09-20 -0400, "D. Hugh Redelmeier" <hugh-pmF8o41NoarQT0dZR+AlfA at public.gmane.org> wrote:
>[Disclaimer: I don't actually know perl.]
>
At 16:05 2003-09-20 -0400, "D. Hugh Redelmeier" <hugh-pmF8o41NoarQT0dZR+AlfA at public.gmane.org> wrote:
> [Disclaimer: I don't actually know perl.]
>
> I don't understand why the regular expression match in the following
> perl script fails if and only if the environment is utf8.
>
> If the RE element can be matched without a "+" suffix, surely it can
> match with a "+" suffix. Matching exactly once should be a stronger
> condition than matching at least once.
>
> My guess is that there is some Perl feature that I don't know about
> that explains this behaviour.
>
> Help!
>
> Hugh Redelmeier
> hugh-pmF8o41NoarQT0dZR+AlfA at public.gmane.org voice: +1 416 482-8253
[snip]
For what it's worth, I get "package happy" with both values
of LANG when I execute whacky.pl on ...
(*) "This is perl, v5.8.0 built for i386-linux" runing on
Slackware 9.0
(*) "This is perl, v5.6.1 built for
MSWin32-x86-multi-thread (with 1 registered patch, see
perl -V for more detail)" running on Windows ME.
(*) "This is perl, version 5.005_02 built for os400"
running on OS/400 V5R2.
Terry.
Available for contract programming.
--
The Toronto Linux Users Group. Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml
More information about the Legacy
mailing list