Package org.jppf.utils
Class RegexUtils
java.lang.Object
org.jppf.utils.RegexUtils
This class provides a set of utility methods for manipulating regular expressions,
along with a set of pre-compiled common regular expressions.
- Author:
- Laurent Cohen
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final PatternPre-compiled regex pattern that matches any column ':' character.static final PatternPre-compiled regex pattern that matches any comma ',' or semicolumn ';' character.static final PatternPre-compiled regex pattern that matches any comma ',' character.static final PatternPre-compiled regex pattern that matches any dot '.' character.static final PatternPre-compiled regex pattern that matches any one minus sign.static final PatternPre-compiled regex pattern that matches any pipe '|' character.static final PatternPre-compiled regex pattern that matches any semicolumn ';' character.static final PatternPre-compiled regex pattern that matches any slash '/' character.static final PatternPre-compiled regex pattern that matches any sequence of one or more spaces. -
Method Summary
-
Field Details
-
SPACES_PATTERN
Pre-compiled regex pattern that matches any sequence of one or more spaces. -
MINUS_PATTERN
Pre-compiled regex pattern that matches any one minus sign. -
SLASH_PATTERN
Pre-compiled regex pattern that matches any slash '/' character. -
DOT_PATTERN
Pre-compiled regex pattern that matches any dot '.' character. -
COMMA_PATTERN
Pre-compiled regex pattern that matches any comma ',' character. -
COLUMN_PATTERN
Pre-compiled regex pattern that matches any column ':' character. -
PIPE_PATTERN
Pre-compiled regex pattern that matches any pipe '|' character. -
SEMICOLUMN_PATTERN
Pre-compiled regex pattern that matches any semicolumn ';' character. -
COMMA_OR_SEMICOLUMN_PATTERN
Pre-compiled regex pattern that matches any comma ',' or semicolumn ';' character.
-