× 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 5/8/2017 6:00 AM, Paul Bailey wrote:

Can anyone point me at the right page for the regular expressions engine
used by iSphere (the iSphere help says "IBM regular expression functions"
which doesn't help me). I can only find Java and GNU regular expression
details in google searches.

I poked through the Java, and it looks like it runs RPG code on the IBM
side in a service program called FNDSTR. That code uses the C library
functions:
regcomp()
regexec()
regerror()
regfree()

The documentation in the 7.3 Knowledge Center is sparse, saying only
this: 'The functions regcomp(), regerror(), regexec(), and regfree() use
regular expressions in a similar way to the UNIX awk, ed, grep, and
egrep commands.'

Pretty sure that this is the Posix-awk variant, not GNU.

I'm trying to find a hard-coded value of 91 in my source. "\b91\b" works
fine in LPEX's find tool in each source member I look in, but iSphere's
tool doesn't bring any results at all using that regex.

I'm dealing with RDi v9.5.1.2 and iSphere v3.0.0.r

[[:blank:]]91[[:blank:]] works for me, I think. [[:blank:]] matches
both space and tab.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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

This mailing list archive is Copyright 1997-2024 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.