×
The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.
On Thu, Apr 14, 2016 at 4:32 PM, Buck Calabro <kc2hiz@xxxxxxxxx> wrote:
http://www.ibm.com/developerworks/rfe/execute?use_case=viewRfe&CR_ID=86909
I just finished using Notepad++ to do a regular expression scan and
replace. Again. I wonder if I'm an outlier in the RDi community, or if
others miss the ability to use back references in a regular expression?
I would guess you're an outlier. From what I can tell, regular
expression use in general is not very prevalent in the IBM midrange
community. I mean, I think the median midranger is either a light
regex user or a nonuser.
I consider myself a light-to-moderate regex user, and I have almost
never used backrefs. For the example you presented in your RFE, my
first thought was "Can I do multiline regexes, because if I can, then
I can try to match on single newlines, skipping pairs of newlines, and
replace them all with space, plus-sign, newline." My second thought
was "If I can't do multiline regexes in the editor, then it's probably
time for me to just write a simple Python script that I will use
whenever I want to CLP-ify *any* of my SQL scripts." ;)
In light of Vern's message, does this mean you're going to withdraw
your request? Or maybe request that the syntax be modified to allow
backslash as well as dollar sign for backrefs?
John Y.
As an Amazon Associate we earn from qualifying purchases.