Re: C RTL regcomp() fails with more than 9 (groups)

2020-10-05 Thread Thomas David Rivers
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.

Re: C RTL regcomp() fails with more than 9 (groups)

2020-10-05 Thread Paul Gilmartin
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

Re: C RTL regcomp() fails with more than 9 (groups)

2020-10-05 Thread Kirk Wolf
> > > -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

Re: C RTL regcomp() fails with more than 9 (groups)

2020-10-05 Thread retired mainframer
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

C RTL regcomp() fails with more than 9 (groups)

2020-10-05 Thread Kirk Wolf
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