org.apache.regexp
public class REUtil extends Object
Version: $Id: REUtil.java 518156 2007-03-14 14:31:26Z vgritsenko $
| Field Summary | |
|---|---|
| static String | complexPrefix complex: |
| Method Summary | |
|---|---|
| static RE | createRE(String expression, int matchFlags)
Creates a regular expression, permitting simple or complex syntax |
| static RE | createRE(String expression)
Creates a regular expression, permitting simple or complex syntax |
Parameters: expression The expression, beginning with a prefix if it's complex or having no prefix if it's simple matchFlags Matching style flags
Returns: The regular expression object
Throws: RESyntaxException thrown in case of error
Parameters: expression The expression, beginning with a prefix if it's complex or having no prefix if it's simple
Returns: The regular expression object
Throws: RESyntaxException thrown in case of error