Class RegexOptional
- java.lang.Object
-
- net.sourceforge.plantuml.command.regex.RegexComposed
-
- net.sourceforge.plantuml.command.regex.RegexOptional
-
- All Implemented Interfaces:
IRegex
public class RegexOptional extends RegexComposed implements IRegex
-
-
Field Summary
-
Fields inherited from class net.sourceforge.plantuml.command.regex.RegexComposed
nbCreateMatches
-
-
Constructor Summary
Constructors Constructor Description RegexOptional(IRegex partial)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
getFullSlow()
boolean
match(StringLocated full)
-
Methods inherited from class net.sourceforge.plantuml.command.regex.RegexComposed
count, createPartialMatch, getPartials, getPattern, getStartCount, isCompiled, matcher, partials
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.sourceforge.plantuml.command.regex.IRegex
count, createPartialMatch, getPattern, matcher
-
-
-
-
Constructor Detail
-
RegexOptional
public RegexOptional(IRegex partial)
-
-
Method Detail
-
getFullSlow
protected String getFullSlow()
- Specified by:
getFullSlow
in classRegexComposed
-
match
public boolean match(StringLocated full)
- Specified by:
match
in interfaceIRegex
- Overrides:
match
in classRegexComposed
-
-