Package gnu.regexp

Class RETokenWordBoundary

  • All Implemented Interfaces:
    java.io.Serializable

    final class RETokenWordBoundary
    extends REToken
    Represents a combination lookahead/lookbehind for POSIX [:alnum:].
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) static int BEGIN  
      (package private) static int END  
    • Constructor Summary

      Constructors 
      Constructor Description
      RETokenWordBoundary​(int subIndex, int where, boolean negated)  
    • Constructor Detail

      • RETokenWordBoundary

        RETokenWordBoundary​(int subIndex,
                            int where,
                            boolean negated)
    • Method Detail

      • match

        boolean match​(CharIndexed input,
                      REMatch mymatch)
        Description copied from class: REToken
        Returns true if the match succeeded, false if it failed.
        Specified by:
        match in class REToken
      • dump

        void dump​(java.lang.StringBuffer os)
        Specified by:
        dump in class REToken