This reminds me of an experiment of a colleague of mine, several years ago. He tried to transform a Rexx program of about one screen of statements into one Rexx statement, using nesting, recursive programming and other fancy stuff. It took him about a week, but he succeeded. Of course it was completely incomprehensible what the statement did, but it worked.
Kees. -----Original Message----- From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of Shmuel Metz (Seymour J.) Sent: Wednesday, July 10, 2013 03:17 To: [email protected] Subject: Re: regex that never matches? In <[email protected]>, on 07/09/2013 at 09:56 AM, Paul Gilmartin <[email protected]> said: >Thanks! I never woulda thoughta that. Seems to work for sed and grep; >nearly an exhaustive sample. Now I need to try to understand >it: The sequence "(?" starts an extended pattern; in this case, a look-around assertion (?!pattern) with a null pattern. 'A zero-width negative look-ahead assertion. For example /foo(?!bar)/ matches any occurrence of "foo" that isn't followed by "bar".' -- 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 ******************************************************** For information, services and offers, please visit our web site: http://www.klm.com. This e-mail and any attachment may contain confidential and privileged material intended for the addressee only. If you are not the addressee, you are notified that no part of the e-mail or any attachment may be disclosed, copied or distributed, and that any other action related to this e-mail or attachment is strictly prohibited, and may be unlawful. If you have received this e-mail by error, please notify the sender immediately by return e-mail, and delete this message. Koninklijke Luchtvaart Maatschappij NV (KLM), its subsidiaries and/or its employees shall not be liable for the incorrect or incomplete transmission of this e-mail or any attachments, nor responsible for any delay in receipt. Koninklijke Luchtvaart Maatschappij N.V. (also known as KLM Royal Dutch Airlines) is registered in Amstelveen, The Netherlands, with registered number 33014286 ******************************************************** ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
