public class UriPatternFactory extends Object
Constructor and Description |
---|
UriPatternFactory() |
Modifier and Type | Method and Description |
---|---|
Pattern |
createPattern(String patternAsString)
Create a regex pattern for the provided pattern string which is case sensitive.
|
Pattern |
createPattern(String patternAsString,
boolean caseInsensitive)
Create a regex pattern for the provided pattern string.
|
public Pattern createPattern(String patternAsString)
patternAsString
- the expression that we wish to create a Regex pattern for.public Pattern createPattern(String patternAsString, boolean caseInsensitive)
patternAsString
- the expression that we wish to create a Regex pattern for.caseInsensitive
- if true is specified then the matching pattern created won't be
case sensitive, otherwise it will be.Copyright (c) 2014-2021 All Rights Reserved by the RWS Group for and on behalf of its affiliates and subsidiaries