org.apache.regexp
public class REUtil extends Object
Version: $Id: REUtil.java 126148 2004-02-17 13:37:54Z 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