Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] Japanese regex question
- Date: Fri, 26 Aug 2005 17:15:30 +0900
- From: Brett Robson <b-robson@example.com>
- Subject: Re: [tlug] Japanese regex question
- References: <200508251253.47083.jq@example.com> <20050826113217.J88704@example.com>
On Fri, 26 Aug 2005 11:36:35 +0900 (JST) Tod McQuillin <devin@example.com> wrote: > Which means that if the encoding happens to include upper/lowercase > letters as part of the string when interpreted as bytewise ascii ... you > lose if 'i' was specified. > I was interested enough to knock this up and it confirm's Tod. #!/usr/bin/perl $nampa= "\x25\x6A\x25\x73\x25\x51"; if ($nampa =~ /\x25\x4A\x25\x73\x25\x51/i) { print "you've been nampaed\n"; } else { print "you're ugly \n"; } if ($nampa =~ /\x25\x4A\x25\x73\x25\x51/) { print "you've been nampaed\n"; } else { print "you're ugly \n"; } -- Brett Robson Systems Administrator GOL, Tokyo. http://www.gol.com Phone: 03-3239-6856 International: +81-3-3239-6856
- References:
- Re: [tlug] Japanese regex question
- From: Jonathan Byrne
- Re: [tlug] Japanese regex question
- From: Tod McQuillin
Home | Main Index | Thread Index
- Prev by Date: [tlug] rsh from Fedora Core 4 to Solaris
- Next by Date: Re: [tlug] rsh from Fedora Core 4 to Solaris
- Previous by thread: Re: [tlug] Japanese regex question
- Next by thread: Re: [tlug] Japanese regex question
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links