Re: [pcre-dev] PCRE with UTF-8

Top Page
Delete this message
Author: Manohar S
Date:  
To: pcre-dev
Subject: Re: [pcre-dev] PCRE with UTF-8
hi,
With this, I am having a successful regex match (matched count = 1), but my
offset vector always shows 0.. is there any bug with this?

Regards,
Manohar.s

On Fri, Jun 13, 2008 at 1:57 PM, Philip Hazel <ph10@???> wrote:

> On Thu, 12 Jun 2008, Manohar S wrote:
>
> > is there any alternative to match all UTF-8 characters?
>
> If by "UTF-8 characters" you mean "characters whose code point is
> greater than 127", you can use
>
> [\x{80}-\x{ffff}]+
>
> in UTF-8 mode.
>
> Philip
>
> --
> Philip Hazel
>