I ran a test with all of the examples given.
I got these two to work:
"dcl-f[ ]+filea"
"dcl-f +filea"

But these did not work:
"dcl-f(?> +)filea"
"dcl-f(?>[ ]+)filea"

Thanks for the help.

IBMi Programming Team Leader
IBMi Systems/Applications Programmer

-----Original Message-----
From: Tools/400 [mailto:thomas.raddatz@xxxxxxxxxxx]
Sent: Friday, November 01, 2019 11:30 AM
To: wdsci-l@xxxxxxxxxxxxxxxxxx
Subject: Re: [WDSCI-L] Source Search

Expression "dcl-f\s+filea" did not work for me using iSphere search. I did just a short test and I will debug that later on.

But "dcl-f[ ]+filea" or "dcl-f +filea" worked well.


Am 01.11.2019 um 17:16 schrieb David Gibbs via WDSCI-L:
On Fri, Nov 1, 2019 at 11:11 AM Kerwin Crawford via WDSCI-L
<wdsci-l@xxxxxxxxxxxxxxxxxx> wrote:
In the source it could have been coded several ways, three simple examples below:
dcl-f filea
dcl-f filea
dcl-f filea

I have been looking at Regular expression but cannot figure it out.

A good regex for that would be something like: 'dcl-f\s+filea'.

That would search for 'dcl-f', one or more whitespace characters, then 'filea'.


As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2021 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.