On Feb 22, 2022, at 18:59:06, Seymour J Metz wrote: > > Back-references are certainly essential, but for complicated expressions > assertions, named captures, etc., make life easier. > For substituting in a string, as in sed or vi, numbered back-references Work well enough. Otherwise the programmer needs to define labels.
For assignment to variables names are proper. But how about supplying a stem and letting regex assign to numbered members? The programmer might supply synonyms, as in SYSCALL_CONSTANTS. ISPF Edit Change should allow replacement strings containing back-references. > ________________________________________ > From: Paul Gilmartin > Sent: Tuesday, February 22, 2022 12:37 PM > > I'd be reasonably satisfied with POSIX ERE and back-references optionally > assigned to Rexx variables. > > -- > gil -- gil