I wrote and tested the patch. I will send it next week. ]c works like what is defined in Perlebcdic Ze'ev Atlas
From: Ze'ev Atlas <zatlas1@???>
To: pcre exim <pcre-dev@???>
Sent: Thursday, June 11, 2015 6:27 AM
Subject: Re: issues with EBCDIC and pcretest
| Hi PhilipCould you please guide me to where in the code you handle \c, so I could code either handling it under EBCDIC or issue an eror that it is not supported. ThanksZeev Atlas
Sent from Yahoo Mail on Android
| From:"ph10@???" <ph10@???>
Date:Wed, Jun 10, 2015 at 12:38 PM
Subject:Re: issues with EBCDIC and pcretest
On Wed, 10 Jun 2015, Ze'ev Atlas wrote:
> In my opinion, for the \c sequences, pcre_internal.h should have a
> section to explicitly define the below characters (taken from
> perlebcdic). Something like:
Hmm. The code that handles \c for EBCDIC has been in PCRE for a long
time. I don't know if changing it will affect anybody, but in my
experience there is always *somebody* who is relying on current
behaviour. I am loath to change it now, especially as \c is such an
obscure feature.
Philip
--
Philip Hazel |
|