Package org.apache.regexp
Class REUtil
java.lang.Object
org.apache.regexp.REUtil
This is a class that contains utility helper methods for this package.
- Version:
- $Id: REUtil.java 518156 2007-03-14 14:31:26Z vgritsenko $
- Author:
- Jonathan Locke
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
complexPrefix
complex:- See Also:
-
-
Constructor Details
-
REUtil
public REUtil()
-
-
Method Details
-
createRE
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 simplematchFlags
- Matching style flags- Returns:
- The regular expression object
- Throws:
RESyntaxException
- thrown in case of error
-
createRE
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- Returns:
- The regular expression object
- Throws:
RESyntaxException
- thrown in case of error
-