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



That makes sense Thomas - problem is though that I suspect even if you get it going it will be slower than Christmas.

Do the PHP or Python variants have what you want?

There’s an interesting piece on implementing at least negative versions here http://yacsharpblog.blogspot.ca/2008/09/regular-expressions-in-c-negative-look.html - don’t know if that helps.



Jon Paris

www.partner400.com
www.SystemiDeveloper.com

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



Hi Jon,

I assume that Scott uses the regular expression functions of the IBM i C
library. That is what I do at the moment. The problem is that the IBM
regular expression functions do not support look-ahead and look-behind,
which were required for solving the "bulk source search" problem.

That is why I thought about to use the GNU library before I noticed that
this library does not support look-ahead and look-behind, too.

Thomas.

Am 29.06.2015 um 21:41 schrieb Jon Paris:
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-a9TbBav64t4b1SvskN2V4Q@xxxxxxxxxxxxxxxx> 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-Zwy7GipZuJhWk0Htik3J/w@xxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request-Zwy7GipZuJhWk0Htik3J/w@xxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/wdsci-l.


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