https://www.pcre.org/ for z/OS

On Mon, Jan 13, 2025 at 8:53 PM David Crayford
<00000595a051454b-dmarc-requ...@listserv.ua.edu> wrote:
>
> If only there were a Rexx PCRE2 command processor for TSO REXX. The
> challenge with regular expressions, especially in Perl, which is arguably
> one of the least maintainable programming languages, is how quickly they
> devolve into an unmanageable mess. PEG parsers, on the other hand, are far
> more structured than regex engines and are easier to comprehend since they
> can be broken down into components. For the Python enthusiasts, here’s a
> good PEG parser library: https://github.com/erikrose/parsimonious
>
> On Tue, Jan 14, 2025 at 10:16 AM Seymour J Metz <sme...@gmu.edu> wrote:
>
> > PCRE2 has quite a bit more than ECMAscript.
> >
> > --
> > Shmuel (Seymour J.) Metz
> > http://mason.gmu.edu/~smetz3
> > עַם יִשְׂרָאֵל חַי
> > נֵ֣צַח יִשְׂרָאֵ֔ל לֹ֥א יְשַׁקֵּ֖ר
> >
> >
> >
> > ________________________________________
> > From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> on behalf
> > of David Crayford <00000595a051454b-dmarc-requ...@listserv.ua.edu>
> > Sent: Monday, January 13, 2025 8:24 PM
> > To: IBM-MAIN@LISTSERV.UA.EDU
> > Subject: Re: Pipes
> >
> > External Message: Use Caution
> >
> >
> > There is already a package for REXX regular expressions. It uses ECMAScript
> > grammar which is not far off PCRE https://github.com/daveyc/RTK.
> >
> > On Tue, Jan 14, 2025 at 8:54 AM Farley, Peter <
> > 0000031df298a9da-dmarc-requ...@listserv.ua.edu> wrote:
> >
> > > I would think that an open-source/CBT MetalC version based on an existing
> > > open-source non-Z implementation should be eminently achievable.  Not
> > > trivial mind you, but achievable.
> > >
> > > As for multi-platform, I believe that ooRexx already supports regex,
> > > although the oorexx.org website does not want to let me view the
> > > documentation (gets 404 for all the HTML and PDF doc links on page
> > >
> > https://secure-web.cisco.com/1FwbPE-3TskFsKME-Ue93bo3jzhcr6xrPy8wHnJcS3RpgcKj-9xVvqauYakkzOm-m3vQjDtpdj1F7hKu9dJOozabs0iPF_RnRurjl1XvMqrKIVQ5nzBLp5HyhKISIvu1lzBcT0M4d9NrF4ehN8PUIrtbKSr9xRughjGvWHt4ogzpeVvXbqeiKGOk3UZ39kVVKhtcm5aAstn09c8ikBosa1ZzH6llIJbfk2G62qxsCtqheDzdD8eM2bjAYlGYmWiqoIIMTJVmwjmGKcAXQkLg9q0ExIwn8w2dlDjk5myVc1CkV9W5t81meRVKO2tps0IddUZNC88kGihxpx-5AxDuFLJNNiODG_V6wuJTXRMpxWvr8EgISSEDpnWGechvguYc2pJpNX432HezhugnO9r6tZcwUQJRvh3INYiK9V6oFnbE/https%3A%2F%2Fwww.oorexx.org%2Fdocs%2F
> > in both FireFox and Chrome).
> > >
> > > Peter
> > >
> > > From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On Behalf
> > > Of Paul Gilmartin
> > > Sent: Monday, January 13, 2025 1:36 PM
> > > To: IBM-MAIN@LISTSERV.UA.EDU
> > > Subject: Re: Pipes
> > >
> > >
> > > On Mon, 13 Jan 2025 12:19:35 -0600, Lionel B Dyck wrote:
> > >
> > > >
> > >
> > > >A decent, open-source, alternative would be wonderful.
> > >
> > > >
> > >
> > > That would be of greatest value if it were multi-platform.
> > >
> > >
> > >
> > > And supported regular expressions.  I once argued for that,
> > >
> > > and John Hartmann replied that wold depend on a HLASM
> > >
> > > implementation of reges.
> > >
> > >
> > >
> > > --
> > >
> > > This message and any attachments are intended only for the use of the
> > > addressee and may contain information that is privileged and
> > confidential.
> > > If the reader of the message is not the intended recipient or an
> > authorized
> > > representative of the intended recipient, you are hereby notified that
> > any
> > > dissemination of this communication is strictly prohibited. If you have
> > > received this communication in error, please notify us immediately by
> > > e-mail and delete the message and any attachments from your system.
> > >
> > >
> > > ----------------------------------------------------------------------
> > > 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
> >
> >
> > ----------------------------------------------------------------------
> > 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



-- 
Mike A Schwab, Springfield IL USA
Where do Forest Rangers go to get away from it all?

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to