| java.lang.Object org.netbeans.modules.search.RegexpMaker
RegexpMaker | final class RegexpMaker (Code) | | Parser of simple regular expressions with only three supported special
characters
'*' (zero or more),
'?' (zero or one)
and
'\\' (quotes the following character).
author: Marian Petras |
Method Summary | |
static String | makeMultiRegexp(String simplePatternList) Translates the given simple pattern (or several patterns) to a single
regular expression. | static String | makeRegexp(String simplePattern) Translates the given simple pattern to a regular expression. | static String | makeRegexp(String simplePattern, boolean wholeWords) Translates the given simple pattern to a regular expression. |
makeMultiRegexp | static String makeMultiRegexp(String simplePatternList)(Code) | | Translates the given simple pattern (or several patterns) to a single
regular expression.
Parameters: simplePatternList - pattern list to be translated regular expression corresponding to the simple pattern(or to the list of simple patterns) |
makeRegexp | static String makeRegexp(String simplePattern)(Code) | | Translates the given simple pattern to a regular expression.
Parameters: simplePattern - pattern to be translated regular expression corresponding to the simple pattern |
makeRegexp | static String makeRegexp(String simplePattern, boolean wholeWords)(Code) | | Translates the given simple pattern to a regular expression.
Parameters: simplePattern - pattern to be translated Parameters: wholeWords - whether the Whole Words option is selected regular expression corresponding to the simple pattern |
|
|