Can you please open a PMR on this if you have not already?
Thanks,
____________________________________________________________________________
Maha Masri
Rational Developer for i - Rational Developer for AIX and Linux - Rational
Developer for Power
From: Buck Calabro <kc2hiz@xxxxxxxxx>
To: wdsci-l@xxxxxxxxxxxx
Date: 01/08/2016 11:59 AM
Subject: Re: [WDSCI-L] Regular Expression Find defaults
Sent by: "WDSCI-L" <wdsci-l-bounces@xxxxxxxxxxxx>
On 1/8/2016 10:06 AM, Craig Richards wrote:
In the LPEX I like to use findText from the command line.
But in order to use regular expressions, I find I have to pass the
regularExpression flag to the findText command each time.
Looking at the help text it does appear to me as though running the
command
"set findText.regularExpression on" should remove the requirement for me
to
specify regularExpression on every search.
But the findText command seems not to take account of the setting of
findText.regularExpression.
Is this a bug? Or must my misreading of the help text?
I'm running version 9.1.1.1 of Rational Developer for iSeries.
Same thing happens in 9.5.0.2. Looks like a bug to me.
set findText.regularExpression on selects the Regular Expression
checkbox in Ctrl-F. Putting a regular expression in that window works.
Copying the RE onto the command line does not.
RPG code:
DFoundMatch S 3A
DKeyMatch S 3A
DMZIP5 S 5A INZ('00000')
DMAILADR S 300A
Ctrl-F search with Regular Expression unchecked:
inz\('\d*
result: inz\('\d* not found.
Ctrl-F search with Regular Expression checked:
inz\('\d*
result: Wrapped. inz('00000 is highlighted.
Issue editor commands:
query findText.regularExpression
result: findText.regularExpression on
findText inz\('\d*
result: "" not found.
findText regularExpression inz\('\d*
result: inz('00000 is highlighted.
Help text for the findText.regularExpression parameter:
on If you specify the on parameter for the set
findText.regularExpression command, the findText command will use
regular-expression pattern matching while searching within the current
view.
--
--buck
Visit wiki.midrange.com and register for an account. Edit a page that
helps you, and because it's public, you'll help someone else, too!
--
This is the Rational Developer for IBM i / Websphere Development Studio
Client for System i & iSeries (WDSCI-L) mailing list
To post a message email: WDSCI-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at
http://archive.midrange.com/wdsci-l.
As an Amazon Associate we earn from qualifying purchases.