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: Thu, 25 Aug 2005 10:47:27 +0900
- From: Brett Robson <b-robson@example.com>
- Subject: Re: [tlug] Japanese regex question
- References: <200508241701.55144.jq@example.com>
On Wed, 24 Aug 2005 17:01:55 -0700 Jonathan Byrne <jq@example.com> wrote: > I'm baaaaaaack! :) > > Well, I'm still on admin but haven't had time to read the main list in > too long. > > And of course, it was having an odd problem that dragged me back :) > > I have a basic regular expression targetted at raw iso-2022-jp text. > The word I'm targetting is $Bec4e&5ecA(Band the regex is (?: > \=25\=4A\=25\=73\=25\=51|\x25\x4A\x25\x73\x25\x51). $B$*$+$($j(B You sent UTF and my client doesn't handle it that's why the above is mojibake, (I sent it to Mozilla and it reads fine). I don't know how much experience you have with J-regex but the biggest issue is anchoring. Because it's double byte you can't be sure you're matching from the first byte of a character. Can be sure that it is really matching the characters you think it is? Brett
- Follow-Ups:
- Re: [tlug] Japanese regex question
- From: Josh Glover
- References:
- [tlug] Japanese regex question
- From: Jonathan Byrne
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] Japanese regex question
- Next by Date: Re: [tlug] Japanese regex question
- 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