In <[email protected]>, on
07/27/2013
   at 01:42 PM, Paul Gilmartin <[email protected]> said:

>Of course there are two orthogonal scales of value that can be
>applied here:

>o Make the product comfortable to those accustomed to Perl.

>o Make the product comfortable to those accustomed to MVS.

In other contexts, I've referred to the options as horizontal and
vertical consistency. In the case of PCRE, I'd advise sticking to the
Perl syntax for the regexen themselves, but not necessarily elsewhere,
e.g.,

 address PCRE MATCH 'fromvar' 'regexvar' ['optsvar' ['capturestem.']]
 address REPLACE 'fromvar' 'regexvar' 'subvar' ['optsvar'
['capturestem.']]

Where the parameters are all names and where Perl syntax is used for
the contents of regexvar and subvar. You may want a third form for a
nondestructive replace with a third variable for the result of the
replacement. I'm assuming PCRE would return capture buffers in REXX
compound variables using the default or provided stem.

-- 
     Shmuel (Seymour J.) Metz, SysProg and JOAT
     Atid/2        <http://patriot.net/~shmuel>
We don't care. We don't have to care, we're Congress.
(S877: The Shut up and Eat Your spam act of 2003)

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

Reply via email to