× 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.



Why not just call the library function from RPG Thomas - why bother with Perl?

Scott has an example program here:

http://www2.systeminetwork.com/code/index.cfm?fuseaction=ShowCodeInFile&Year=2012&Month=10&Page=011&HostType=PC&FileType=PC&PCName=regexdemo.rpgle.txt&HostName=REGEXDEMO


Jon Paris

www.partner400.com
www.SystemiDeveloper.com

On Jun 29, 2015, at 3:10 PM, Tools/400 <thomas.raddatz@xxxxxxxxxxx> wrote:



Hi Buck,

Is it possible to call Perl from RPG? I have to call the regex function
for each line of a source member!

Thomas.

Am 29.06.2015 um 19:32 schrieb Buck Calabro:
On 6/29/2015 12:43 PM, Tools/400 wrote:

I am open for any suggestions how to get look-ahead/look-behind to the
IBM i and integrated into the iSphere plug-in. The problem is, that I
need to call regcomp() and regexec() from a RPG module. So the functions
must be provided by a service program that I can bind to the FNDSTR
service program.

Hi Thomas,
I am quite busy at work and have not completed my research. I was
looking at Perl Compatible Regular Expressions (PCRE) http://www.pcre.org/


--
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.

This thread ...

Follow-Ups:
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.