[pcre-dev] [Bug 1388] New: PCRE_UCP seems to ruin Callout pa…

Page principale
Supprimer ce message
Auteur: firas
Date:  
À: pcre-dev
Sujet: [pcre-dev] [Bug 1388] New: PCRE_UCP seems to ruin Callout pattern indices
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1388
           Summary: PCRE_UCP seems to ruin Callout pattern indices
           Product: PCRE
           Version: 8.33
          Platform: x86
        OS/Version: Linux
            Status: NEW
          Severity: bug
          Priority: high
         Component: Code
        AssignedTo: ph10@???
        ReportedBy: firas.dib@???
                CC: pcre-dev@???



Hello!

This is my first bug report so I hope I am doing this correctly.

When I use the automatic callout feature (PCRE_AUTO_CALLOUT) in conjunction
with PCRE_UCP I get weird values for the pattern position and length from each
calloutblock.

For example, the regex `\w` with the options mentioned above ran on the string
`Ƶ` returns the following indices:
Start: 1
End: 26190

Start: 26191
End: 39348

Clearly this is wrong.

Thanks in advance!


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email