If you need more than ECMA Script regexen there's PCRE.

--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3

________________________________________
From: IBM Mainframe Discussion List [[email protected]] on behalf of 
David Crayford [[email protected]]
Sent: Tuesday, May 2, 2023 9:39 AM
To: [email protected]
Subject: Re: REXX parse parens

Shameless plug but you can use my RTK package to process regular expressions in 
z/OS REXX https://github.com/daveyc/RTK

> On 2 May 2023, at 9:22 pm, David Crayford <[email protected]> wrote:
>
>
>
>> On 2 May 2023, at 7:30 am, Frank Swarbrick <[email protected]> 
>> 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 [email protected] with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to