Package ch.njol.skript.patterns
Class RegexPatternElement
java.lang.Object
ch.njol.skript.patterns.PatternElement
ch.njol.skript.patterns.RegexPatternElement
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCombinations
(boolean clean) Gets the combinations available to thisPatternElement
.@Nullable MatchResult
match
(String expr, MatchResult matchResult) toString()
Methods inherited from class ch.njol.skript.patterns.PatternElement
getAllCombinations, matchNext, toFullString
-
Constructor Details
-
RegexPatternElement
-
-
Method Details
-
match
- Specified by:
match
in classPatternElement
-
toString
- Specified by:
toString
in classPatternElement
-
getCombinations
Description copied from class:PatternElement
Gets the combinations available to thisPatternElement
.- Specified by:
getCombinations
in classPatternElement
- Parameters:
clean
- Whether unnecessary data, determined by each implementation, should be excluded from the combinations.- Returns:
- The combinations.
-