Re: Regular Expressions in ISREDIT z/OS 2.01

2015-02-28 Thread Paul Gilmartin
On Thu, 26 Feb 2015 09:04:59 -0500, Shmuel Metz (Seymour J.) wrote: > >>IBM doesn't seem interested in going much beyond >>POSIX requirements; sometimes not even that far. > >Hence the need to submit a requirement if you have a business need. >There's no guaranty that IBM will accept it, but they

Re: Regular Expressions in ISREDIT z/OS 2.01

2015-02-28 Thread Thomas Conley
On 2/27/2015 9:28 PM, Shmuel Metz , Seymour J. wrote: In <1718003834535662.wa.rashapoogmail@listserv.ua.edu>, on 02/26/2015 at 09:47 AM, Govind Chettiar said: It does seem irksome that a feature would be provided in a half-baked fashion especially when it has taken so long to become av

Re: Regular Expressions in ISREDIT z/OS 2.01

2015-02-27 Thread Shmuel Metz (Seymour J.)
In <1718003834535662.wa.rashapoogmail@listserv.ua.edu>, on 02/26/2015 at 09:47 AM, Govind Chettiar said: >It does seem irksome that a feature would be provided in a half-baked >fashion especially when it has taken so long to become available. There have been a number of cases where an org

Re: Regular Expressions in ISREDIT z/OS 2.01

2015-02-27 Thread Shmuel Metz (Seymour J.)
In <6650140068793644.wa.paulgboulderaim@listserv.ua.edu>, on 02/25/2015 at 04:25 PM, Paul Gilmartin <000433f07816-dmarc-requ...@listserv.ua.edu> said: >What's "full"? Comparable to Perl, Python or Ruby. >IBM doesn't seem interested in going much beyond >POSIX requirements; sometimes

Re: Regular Expressions in ISREDIT z/OS 2.01

2015-02-26 Thread Govind Chettiar
On Tue, 24 Feb 2015 23:07:53 -0500, Shmuel Metz (Seymour J.) wrote: >In <2502068772076383.wa.rashapoogmail@listserv.ua.edu>, on >02/24/2015 > at 03:32 PM, Govind Chettiar said: > >>On zOS if I try >>f r'([0-9]{4})(\w+)' > >A while back I looked at the new ISPF documentation and and EDIT i

Re: Regular Expressions in ISREDIT z/OS 2.01

2015-02-25 Thread Paul Gilmartin
On Tue, 24 Feb 2015 23:07:53 -0500, Shmuel Metz (Seymour J.) wrote: > >Is there an open requirement to support full regex capability? > What's "full"? IBM doesn't seem interested in going much beyond POSIX requirements; sometimes not even that far. -- gil ---

Re: Regular Expressions in ISREDIT z/OS 2.01

2015-02-25 Thread Shmuel Metz (Seymour J.)
In <2502068772076383.wa.rashapoogmail@listserv.ua.edu>, on 02/24/2015 at 03:32 PM, Govind Chettiar said: >On zOS if I try >f r'([0-9]{4})(\w+)' A while back I looked at the new ISPF documentation and and EDIT is missing much of what I have come to rely on in Perl. >I looked online for h

Re: Regular Expressions in ISREDIT z/OS 2.01

2015-02-24 Thread Govind Chettiar
On Fri, 12 Dec 2014 11:20:21 -0600, Jon Butler wrote: >I can use regular expressions, but the "generic" attributes such as \d for any >digit do not appear to work in ISPF. If I use FIND r'\([0-9]\)' I can find >the string "(9)", but if I use FIND r'\(\d\)' I can not. > >For me FIND r'd' and

Re: Regular Expressions in ISREDIT z/OS 2.01

2014-12-25 Thread Paul Gilmartin
On Sun, 21 Dec 2014 09:24:38 -0500, Shmuel Metz (Seymour J.) wrote: > on 12/14/2014 at 09:09 AM, Alan Watthey said: > >>The change command is still missing one capability I would love to >>see. The ability to set variables in the first parameter. > >If you're going to ask for captures, why not go

Re: Regular Expressions in ISREDIT z/OS 2.01

2014-12-24 Thread Shmuel Metz (Seymour J.)
In <005901d01764$79b3f670$6d1be350$@gmail.com>, on 12/14/2014 at 09:09 AM, Alan Watthey said: >The change command is still missing one capability I would love to >see. The ability to set variables in the first parameter. If you're going to ask for captures, why not go whole hog and ask for n

Re: Regular Expressions in ISREDIT z/OS 2.01

2014-12-15 Thread Jon Butler
The escaped parentheses, left and right, provide that character "as is", so "\([0-9]\) will find the string "(9)". -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the

Re: Regular Expressions in ISREDIT z/OS 2.01

2014-12-13 Thread Alan Watthey
ability to set variables in the first parameter. C rc'sys(a|b)' 'tmp$1' That is change sysa to tmpa and sysb to tmpb. Regards, Alan. -Original Message- From: Steve Comstock [mailto:st...@trainersfriend.com] Sent: 11 December 2014 17:04 Subject: Re: Regular Expressions

Re: Regular Expressions in ISREDIT z/OS 2.01

2014-12-12 Thread Shmuel Metz (Seymour J.)
In <7282308234662904.wa.jon.butlerfepoc@listserv.ua.edu>, on 12/12/2014 at 11:20 AM, Jon Butler said: >Any thoughts? What is an ISPF/PDF EDIT regular expression? POSIX RE? POSIX BRE? E, none of the above? -- Shmuel (Seymour J.) Metz, SysProg and JOAT ISO position; see

Re: Regular Expressions in ISREDIT z/OS 2.01

2014-12-12 Thread Shmuel Metz (Seymour J.)
In <2213232902404204.wa.paulgboulderaim@listserv.ua.edu>, on 12/12/2014 at 10:59 AM, Paul Gilmartin <000433f07816-dmarc-requ...@listserv.ua.edu> said: >Can the host determine the terminal's CCSID by such as a 3270 WSF >Query? QUERY or QUERY LIST, provided that the GF bit is on in the q

Re: Regular Expressions in ISREDIT z/OS 2.01

2014-12-12 Thread John McKown
In the regular expression engine used by ISPF (the one in the IBM C run time), \d is not "a digit" but a simple "d". The \ is only used as an "escape" character and \d is simply d in that context. The basics of what is acceptable is here: http://www-01.ibm.com/support/knowledgecenter/SSLTBW_2.1.0/c

Re: Regular Expressions in ISREDIT z/OS 2.01

2014-12-12 Thread Paul Gilmartin
On Fri, 12 Dec 2014 11:20:21 -0600, Jon Butler wrote: >I can use regular expressions, but the "generic" attributes such as \d for any >digit do not appear to work in ISPF. If I use FIND r'\([0-9]\)' I can find >the string "(9)", but if I use FIND r'\(\d\)' I can not. > >For me FIND r'd' and

Re: Regular Expressions in ISREDIT z/OS 2.01

2014-12-12 Thread Jon Butler
I can use regular expressions, but the "generic" attributes such as \d for any digit do not appear to work in ISPF. If I use FIND r'\([0-9]\)' I can find the string "(9)", but if I use FIND r'\(\d\)' I can not. For me FIND r'd' and FIND r'\d' both find the letter "d", not a digit. Any thou

Re: Regular Expressions in ISREDIT z/OS 2.01

2014-12-12 Thread Paul Gilmartin
On Thu, 11 Dec 2014 22:48:26 -0600, John McKown wrote: > > ... !!! HOWEVER!!! the character set that the C regexp processor expects >when in TSO is the stupid IBM-037 character set. So the [ and ] at code >points 0xAD and 0xBD are the wrong hex values (the default CCSID is 037 and >so it wants 0xBA

Re: Regular Expressions in ISREDIT z/OS 2.01

2014-12-11 Thread Chase, John
> -Original Message- > From: IBM Mainframe Discussion List On Behalf Of David Crayford > Sent: Thursday, December 11, 2014 10:08 PM > > On 12/12/2014 11:38 AM, David Speake wrote: > > I did a double DUH! when I saw the missing R reply. It wasn't quite that > > bad.I cannot cut/paste the >

Re: Regular Expressions in ISREDIT z/OS 2.01

2014-12-11 Thread John McKown
On Thu, Dec 11, 2014 at 9:38 PM, David Speake wrote: > I did a double DUH! when I saw the missing R reply. It wasn't quite that > bad.I cannot cut/paste the brackets [] > from/to or to/from my Reflections for IBM 3270 emulator session. Had to > FTP them into my TSO/PDS and of

Re: Regular Expressions in ISREDIT z/OS 2.01

2014-12-11 Thread David Crayford
On 12/12/2014 11:38 AM, David Speake wrote: I did a double DUH! when I saw the missing R reply. It wasn't quite that bad.I cannot cut/paste the brackets [] from/to or to/from my Reflections for IBM 3270 emulator session. Had to FTP them into my TSO/PDS and ofcourse

Re: Regular Expressions in ISREDIT z/OS 2.01

2014-12-11 Thread Paul Gilmartin
On 2014-12-11 08:57, Grinsell, Don wrote: > T is still documented in the ISPF help: > I couldn't find in the ISPF Ref. Either the Ref. is more proactive in weeding out obsolescent constructs ('t' merely asserts the default), or I didn't look hard enough. > A text string is used to find a charact

Re: Regular Expressions in ISREDIT z/OS 2.01

2014-12-11 Thread David Speake
I did a double DUH! when I saw the missing R reply. It wasn't quite that bad.I cannot cut/paste the brackets [] from/to or to/from my Reflections for IBM 3270 emulator session. Had to FTP them into my TSO/PDS and ofcourse key them into the question. The Find command

Re: Regular Expressions in ISREDIT z/OS 2.01

2014-12-11 Thread Grinsell, Don
ISTSERV.UA.EDU] On Behalf Of Steve Comstock Sent: Thursday, December 11, 2014 8:12 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Regular Expressions in ISREDIT z/OS 2.01 On 12/11/2014 8:01 AM, Paul Gilmartin wrote: > On Thu, 11 Dec 2014 08:39:23 -0600, Elardus Engelbrecht wrote: > >&g

Re: Regular Expressions in ISREDIT z/OS 2.01

2014-12-11 Thread Steve Comstock
On 12/11/2014 8:01 AM, Paul Gilmartin wrote: On Thu, 11 Dec 2014 08:39:23 -0600, Elardus Engelbrecht wrote: Bill Ashton wrote: I took that to mean that he can change lower case data independent of upper case data, even if the text strings might be similar. For example, changing "ftp.mynode.s

Re: Regular Expressions in ISREDIT z/OS 2.01

2014-12-11 Thread Paul Gilmartin
On Thu, 11 Dec 2014 08:39:23 -0600, Elardus Engelbrecht wrote: >Bill Ashton wrote: > >>I took that to mean that he can change lower case data independent of upper >>case data, even if the text strings might be similar. For example, changing >>"ftp.mynode.somthing" to "ftp.newnode.something" with

Re: Regular Expressions in ISREDIT z/OS 2.01

2014-12-11 Thread Elardus Engelbrecht
Bill Ashton wrote: >I took that to mean that he can change lower case data independent of upper >case data, even if the text strings might be similar. For example, changing >"ftp.mynode.somthing" to "ftp.newnode.something" without also changing >DSN=DATAFOR.MYNODE.TRANSMIT,DISP=SHR If so, that

Re: Regular Expressions in ISREDIT z/OS 2.01

2014-12-11 Thread Bill Ashton
I took that to mean that he can change lower case data independent of upper case data, even if the text strings might be similar. For example, changing "ftp.mynode.somthing" to "ftp.newnode.something" without also changing DSN=DATAFOR.MYNODE.TRANSMIT,DISP=SHR Billy On Thu, Dec 11, 2014 at 9:19 AM

Re: Regular Expressions in ISREDIT z/OS 2.01

2014-12-11 Thread Elardus Engelbrecht
Chase, John wrote: >> I love this new feature because I can now change lower case to lower case >> and upper case to upper case separately in files. >Having a brain cramp If you "change" lower case to lower case, what gets >changed? Same question for "upper case to upper case". Uh-oh.

Re: Regular Expressions in ISREDIT z/OS 2.01

2014-12-11 Thread Chase, John
> -Original Message- > From: IBM Mainframe Discussion List On Behalf Of Alan Watthey > Sent: Wednesday, December 10, 2014 11:45 PM > > David, > > Yes, this function works perfectly for me. You need to use R or RC in front > of what you are finding > or changing (first parameter). > > Y

Re: Regular Expressions in ISREDIT z/OS 2.01

2014-12-11 Thread Steve Comstock
ards, Alan. -Original Message- From: David Speake [mailto:david.spe...@bcbssc.com] Sent: 11 December 2014 05:06 Subject: Regular Expressions in ISREDIT z/OS 2.01 We have z/OS 2.01 up in the sysprog's sandbox and I am attempting to play with regular expressions in ISREDIT FIND an CHANGE c

Re: Regular Expressions in ISREDIT z/OS 2.01

2014-12-10 Thread Alan Watthey
December 2014 05:06 Subject: Regular Expressions in ISREDIT z/OS 2.01 We have z/OS 2.01 up in the sysprog's sandbox and I am attempting to play with regular expressions in ISREDIT FIND an CHANGE commands both from the command line and within macros. Having NO luck. When I run this MACRO /*

Re: Regular Expressions in ISREDIT z/OS 2.01

2014-12-10 Thread David Crayford
I bet it's a square bracket issue. Try using IBM-1047. On 11/12/2014 10:06 AM, David Speake wrote: We have z/OS 2.01 up in the sysprog's sandbox and I am attempting to play with regular expressions in ISREDIT FIND an CHANGE commands both from the command line and within macros. Having NO luck

Re: Regular Expressions in ISREDIT z/OS 2.01

2014-12-10 Thread Peter X. DeFabritus
You seem to be missing the "r" in front of the character string. On Wed, 10 Dec 2014 20:06:27 -0600, David Speake wrote: >We have z/OS 2.01 up in the sysprog's sandbox and I am attempting to play with >regular expressions in ISREDIT FIND an CHANGE commands both from the command >line and wit

Regular Expressions in ISREDIT z/OS 2.01

2014-12-10 Thread David Speake
We have z/OS 2.01 up in the sysprog's sandbox and I am attempting to play with regular expressions in ISREDIT FIND an CHANGE commands both from the command line and within macros. Having NO luck. When I run this MACRO /* REXX */ /* LINE */ /* LANE */ TRACE ?I ADDRESS ISREDIT SAY ADDRESS() MACRO