Package com.yahoo.text
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 Summary
Constructors Constructor Description Ascii7BitMatcher(String legal)
Ascii7BitMatcher(String legalFirstChar, String legalChars)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static String
charsAndNumbers()
boolean
matches(String s)
-