public class RubyCaseFolding extends Object
| Constructor and Description |
|---|
RubyCaseFolding() |
| Modifier and Type | Method and Description |
|---|---|
static String |
caseFoldUnfoldString(int[] codepoints,
CodePointSet encodingRange) |
static String |
caseFoldUnfoldString(int[] codepoints,
CodePointSet encodingRange,
boolean dropAsciiOnStart)
Generates a String that matches all case variants of the input string.
|
public static String caseFoldUnfoldString(int[] codepoints, CodePointSet encodingRange)
public static String caseFoldUnfoldString(int[] codepoints, CodePointSet encodingRange, boolean dropAsciiOnStart)
codepoints - the input string as an array of Unicode codepointsdropAsciiOnStart - whether we should forbid ASCII characters on the first positions of
the variantsRubyFlavorProcessor