public class RegexProperties extends Object implements JsonConvertible
| Constructor and Description |
|---|
RegexProperties() |
public boolean hasAlternations()
public void setAlternations()
public boolean hasBackReferences()
public void setBackReferences()
public boolean hasCaptureGroups()
public void setCaptureGroups()
public boolean hasCharClasses()
public void setCharClasses()
public boolean hasLoneSurrogates()
public void setLoneSurrogates()
public boolean hasQuantifiers()
public void setQuantifiers()
public boolean hasLookAroundAssertions()
public boolean hasLookAheadAssertions()
public void setLookAheadAssertions()
public boolean hasComplexLookAheadAssertions()
public void setComplexLookAheadAssertions()
public boolean hasNegativeLookAheadAssertions()
public void setNegativeLookAheadAssertions()
public void setNegativeLookAheadAssertions(boolean negativeLookAheadAssertions)
public boolean hasLookBehindAssertions()
public void setLookBehindAssertions()
public boolean hasNonLiteralLookBehindAssertions()
public void setNonLiteralLookBehindAssertions()
public boolean hasComplexLookBehindAssertions()
public void setComplexLookBehindAssertions()
public boolean hasNegativeLookBehindAssertions()
public void setNegativeLookBehindAssertions()
public void setNegativeLookBehindAssertions(boolean negativeLookBehindAssertions)
public boolean hasLargeCountedRepetitions()
public void setLargeCountedRepetitions()
public boolean charClassesCanBeMatchedWithMask()
public void unsetCharClassesCanBeMatchedWithMask()
public boolean isFixedCodePointWidthUTF8()
true iff no CharacterClass node in the expression may match a
variable amount of bytes in an UTF-8 encoded string, i.e. all CharacterClass
nodes match characters from exactly one of the following ranges:
[0x0 - 0x7f ] (one byte) [0x80 - 0x7ff ] (two bytes) [0x800 - 0xffff ] (three bytes) [0x10000 - 0x10ffff] (four bytes)
public void setFixedCodePointWidthUTF8(boolean fixedCodePointWidthUTF8)
public boolean isFixedCodePointWidthUTF16()
true iff no CharacterClass node in the expression may match a
variable amount of chars in an UTF-16 encoded string, i.e. all CharacterClass
nodes match characters from exactly one of the following ranges:
[0x0 - 0xffff ] (one char) [0x10000 - 0x10ffff] (two chars)
Constants.BMP_RANGE,
Constants.ASTRAL_SYMBOLSpublic void setFixedCodePointWidthUTF16(boolean fixedCodePointWidthUTF16)
public void setInnerLiteral(int start,
int end)
public boolean hasInnerLiteral()
public int getInnerLiteralStart()
public int getInnerLiteralEnd()
public JsonValue toJson()
toJson in interface JsonConvertible