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