public class RubyCaseFolding extends Object
| Constructor and Description |
|---|
RubyCaseFolding() |
| Modifier and Type | Method and Description |
|---|---|
static void |
caseFoldUnfoldString(int[] codepoints,
CodePointSet encodingRange,
boolean dropAsciiOnStart,
RegexASTBuilder astBuilder)
Appends to the
astBuilder a matcher that matches all case variants of the input
string. |
static void |
caseFoldUnfoldString(int[] codepoints,
CodePointSet encodingRange,
RegexASTBuilder astBuilder) |
public static void caseFoldUnfoldString(int[] codepoints,
CodePointSet encodingRange,
RegexASTBuilder astBuilder)
public static void caseFoldUnfoldString(int[] codepoints,
CodePointSet encodingRange,
boolean dropAsciiOnStart,
RegexASTBuilder astBuilder)
astBuilder a matcher that matches all case variants of the input
string.codepoints - the input string as an array of Unicode codepointsencodingRange - the range of characters that we should limit ourselves todropAsciiOnStart - whether we should forbid ASCII characters on the first positions of
the variantsastBuilder - where to append the matcher