Menu

#2 RegExp support for expected patterns

open
nobody
None
5
2009-06-04
2009-06-04
Guven Demir
No

Adding support for RegExp's might add flexibility to the utility.

E.g., one can expect multiple values using value1|value2 sytax, or some response staring with aaa and ending in bbb like aaa.*bbb, etc...

Also, the utility might return captured regexp groups, so that some parts of the response can be parsed as well... Please see http://java.sun.com/j2se/1.5.0/docs/api/java/util/regex/Pattern.html#cg for details of capturing in java regexp.

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.