Class RegExUtil
java.lang.Object
de.knightsoftnet.validators.shared.util.RegExUtil
RegEx Util contains helper routines for regular expressions.
- Author:
- Manfred Tremmel
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetAllowedCharactersForRegEx(String pregEx) get all allowed characters which can be part of a String which matches a given regular expression.
-
Constructor Details
-
RegExUtil
public RegExUtil()
-
-
Method Details
-
getAllowedCharactersForRegEx
get all allowed characters which can be part of a String which matches a given regular expression. TODO: this is a first feature incomplete implementation, has to be improved.- Parameters:
pregEx- string contains a regular expression pattern- Returns:
- string with all characters that can be part of a string that matches the regex
-