The regex() function follows more or less a Posix/Unix specification as
I was told by IBM support.

Yes. And I had to write a small testing RPGLE program, providing both the
regex string and the searched string, along with the compilation and
execution flags, from the command line and debugging it. There could I
confirm the matching I wanted. In general, shortcuts is what is mostly not
supported, for example the one I exposed earlier like "\d+" for "sequence
of one or more digits". Leads me to think this could have been just a port
of the original open source code. (?)

Thanks.

This thread ...


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

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