Class 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 Detail

      • Ascii7BitMatcher

        public Ascii7BitMatcher​(String legal)
      • Ascii7BitMatcher

        public Ascii7BitMatcher​(String legalFirstChar,
                                String legalChars)
    • Method Detail

      • matches

        public boolean matches​(String s)
      • charsAndNumbers

        public static String charsAndNumbers()