Class RegexLeaf

java.lang.Object
net.sourceforge.plantuml.command.regex.RegexLeaf
All Implemented Interfaces:
IRegex

public class RegexLeaf extends java.lang.Object implements IRegex
  • Constructor Details

    • RegexLeaf

      public RegexLeaf(java.lang.String regex)
    • RegexLeaf

      public RegexLeaf(java.lang.String name, java.lang.String regex)
  • Method Details

    • spaceZeroOrMore

      public static RegexLeaf spaceZeroOrMore()
    • spaceOneOrMore

      public static RegexLeaf spaceOneOrMore()
    • start

      public static RegexLeaf start()
    • end

      public static RegexLeaf end()
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object
    • getName

      public java.lang.String getName()
    • getPattern

      public java.lang.String getPattern()
      Specified by:
      getPattern in interface IRegex
    • count

      public int count()
      Specified by:
      count in interface IRegex
    • createPartialMatch

      public java.util.Map<java.lang.String,RegexPartialMatch> createPartialMatch(java.util.Iterator<java.lang.String> it)
      Specified by:
      createPartialMatch in interface IRegex
    • match

      public boolean match(StringLocated full)
      Specified by:
      match in interface IRegex
    • matcher

      public RegexResult matcher(java.lang.String full)
      Specified by:
      matcher in interface IRegex
    • getFoxSignatureNone

      public long getFoxSignatureNone()
    • getFoxSignature

      public long getFoxSignature()