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 regcomp() expects regexec() to rely on a fixed-size internal array, chosen because "sed" (e.g.) has no construct for more than 9 back-references.
>Really sucks. > Yup. SR? -- gil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
