Class Ascii7BitMatcher

java.lang.Object
com.yahoo.text.Ascii7BitMatcher

public class Ascii7BitMatcher extends Object
Fast replacement for regex based validators of simple expressions. It can take a list of legal characters for the the first character, and another list for the following. Limited to 7bit ascii.
Author:
baldersheim
  • Constructor Details

    • Ascii7BitMatcher

      public Ascii7BitMatcher(String legal)
    • Ascii7BitMatcher

      public Ascii7BitMatcher(String legalFirstChar, String legalChars)
  • Method Details

    • matches

      public boolean matches(String s)
    • charsAndNumbers

      public static String charsAndNumbers()