On Sat, 20 Sep 2025 22:35:45 +0000, Seymour J Metz wrote:

>It's more complicated than that; whichever delimiter you use, you need to 
>allow for doubling.
>    ...
Inexplicably, ISPF designers abandoned the convention, venerable in
Assembler and JCL,  and later in REXX, of protecting the delimiter
character by doubling it.  That makes easy things simpler and difficult
things impossible.  I can think of nothing but a regular expression for:
    FIND RC'   [']   ["]   '

I once suggested in an RCF (then!) that this might be a valuable
Usage Note.  The response was, "It's a parser bug."  No riposte is
suitable.

>________________________________________
>From: Thomas Berg 
>Sent: Saturday, September 20, 2025 6:17 PM
>
>It was a while since I had to dabble with this problem but you need to use
>either "single" quote like  '   or a "double" one like  "  depending on
>what kind you want use in the search/change/other type of string usage.
>
>In copllicated cases you may need to check wich ones that are used in the
>string and where.
>You may need to check if:
>1. Both kinds are used. Here you need to split the string in two (or more)
>separate strings and use them as required by the application.
>2. Check which kind (if any) that are used in the string and use the other
>kind for the string.

-- 
gil

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

Reply via email to