org.gxml.xs
Interface SmRegExCompiler
public interface SmRegExCompiler
Regular Expression compiler providing an injectable implementation.
Method Summary |
SmRegExPattern |
compile(java.lang.String regex)
Compiles the specified regular expression into a pattern that can be used for matching. |
SmRegExPattern |
compile(java.lang.String regex,
java.lang.String flags)
|
compile
SmRegExPattern compile(java.lang.String regex)
throws SmRegExException
- Compiles the specified regular expression into a pattern that can be used for matching.
- Parameters:
regex
- The lexical representation of the regular expression.
- Returns:
- The compiled regular expression pattern.
- Throws:
StringRegExException
- If the regular expression contains a syntax error.
SmRegExException
compile
SmRegExPattern compile(java.lang.String regex,
java.lang.String flags)
throws SmRegExException
- Throws:
SmRegExException
Copyright © 2009 TIBCO Software Inc. All Rights Reserved.