Kirk Wolf wrote:
Can be demonstrated with the following test program. This works fine with
regcomp() on linux and other RE platforms (PCRE, javascript, python, etc).
I dunno why that would fail - tried it with a couple of UNIXs
and of course Dignus Systems/C, all got return-code of 0.
On Mon, 5 Oct 2020 10:40:30 -0500, Kirk Wolf wrote:
>
>/* test regcomp with more than 9 (groups).
> On z/OS V2R3, fails with:
> Invalid regular expression '...' - (rc=8) \( \) or ( ) imbalance
>...
>Switching to BREs, doesn't help. Something probably didn't fit in 80 bytes
>:-)
Perhaps
>
> > -Original Message-
> > From: IBM Mainframe Discussion List On
> > Behalf Of Kirk Wolf
> > Sent: Monday, October 05, 2020 8:41 AM
> > To: IBM-MAIN@LISTSERV.UA.EDU
> > Subject: C RTL regcomp() fails with more than 9 (groups)
> >
> > Can
Monday, October 05, 2020 8:41 AM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: C RTL regcomp() fails with more than 9 (groups)
>
> Can be demonstrated with the following test program. This works fine with
> regcomp() on linux and other RE platforms (PCRE, javascript, python, etc).
>
&g
Can be demonstrated with the following test program. This works fine with
regcomp() on linux and other RE platforms (PCRE, javascript, python, etc).
/* test regcomp with more than 9 (groups).
On z/OS V2R3, fails with:
Invalid regular expression '...' - (rc=8) \( \) or ( ) imbalance