Class RegExpTree.Text

    • Method Detail

      • simplify

        public RegExpTree simplify​(java.lang.String flags)
        Description copied from class: RegExpTree
        Returns a simpler regular expression that is semantically the same assuming the given flags.
        Specified by:
        simplify in class RegExpTree
        Parameters:
        flags - Regular expression flags, e.g. "igm".
      • isCaseSensitive

        public boolean isCaseSensitive()
        Description copied from class: RegExpTree
        True if the presence or absence of an "i" flag would change the meaning of this regular expression.
        Overrides:
        isCaseSensitive in class RegExpTree.RegExpTreeAtom
      • appendSourceCode

        protected void appendSourceCode​(java.lang.StringBuilder sb)
        Description copied from class: RegExpTree
        Appends this regular expression source to the given buffer.
        Specified by:
        appendSourceCode in class RegExpTree
      • appendDebugInfo

        protected void appendDebugInfo​(java.lang.StringBuilder sb)
        Specified by:
        appendDebugInfo in class RegExpTree
      • equals

        public boolean equals​(java.lang.Object o)
        Specified by:
        equals in class RegExpTree