Hi all! Does anybody know where I can find out some information about regular expressions syntax in ILE C/400? Thanks for advance, Alexei
Unconfigured Ad Widget
Collapse
Announcement
Collapse
No announcement yet.
Regular expressions
Collapse
X
-
Regular expressions
Alexei, I think it's standard RE syntax. Try this tutorial: http://www.javaregex.com/pat/tutorial/tutorial.html There was a thread about regular expressions in the rpg forum a couple of weeks ago. If I recall correctly, you should specify that you want the extended regular expressions to get the syntax to match this tutorial. I don't really know much about extended vs non-extended, but one thing difference between them is the way parentheses are handled. With one you have to escape the parentheses to get them treated as text; with the other you have to escape them to get them treated as RE special values.
Comment