Adding the space causes the opposite problem; the valueOpt field ends with two parens instead of none.
I'm not the author; I'm just trying to fix it! -----Original Message----- From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On Behalf Of David Crayford Sent: Tuesday, May 2, 2023 7:23 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: REXX parse parens > On 2 May 2023, at 7:30 am, Frank Swarbrick <frank.swarbr...@outlook.com> > wrote: > > Parse Var option varOpt '(' valueOpt ‘)’ Adding an extra space after the closing parenthesis can help as a workaround. Parse Var option varOpt '(' valueOpt ‘) ‘ Parse is good for simple text yanking but it’s not match for regular expressions or PEGs. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN