Thank you, I've realized it after digging in the documentation farther. It was the g modifier that threw me off, but now the g is actually implemented and seem to work fine. We will publish the z/OS Rexx interface in conjunction with the next PCRE2 releaseZeev Atlas
Sent from Yahoo Mail on Android
On Sun, Feb 12, 2017 at 8:23 AM, ph10@???<ph10@???> wrote: On Fri, 10 Feb 2017, Ze'ev Atlas wrote:
> Hi PhilWe are preparing an interface for the Rexx language on z/OS. I
> was looking for a way to supply the g, x, i modifiers. I cannot find a
> way to supply such modifiers external to the pattern (I know how to do
> it within the pattern). Could you guide me where to look. Thank
> youZe'ev Atlas
You can set the PCRE2_CASELESS and/or PCRE2_EXTENDED options when you
call pcre2_compile(), which have the effects of /i and /x respectively.
(There are many other options as well.) You have to implement /g
yourself, outside the pattern, by calling pcre2_match() repeatedly, as
described in the comments about the "-g" option in the pcre2demo.c
sample program.