Package org.owasp.csrfguard.util
Class RegexValidationUtil
- java.lang.Object
-
- org.owasp.csrfguard.util.RegexValidationUtil
-
public final class RegexValidationUtil extends Object
RegexValidationUtil - All functions related to regex operations.- Since:
- - 11/7/2019.
- Author:
- - srijas
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleanisTestPathRegex(String testPath)see if a test path starts with ^ and ends with $ thus making it a regex
-
-
-
Method Detail
-
isTestPathRegex
public static boolean isTestPathRegex(String testPath)
see if a test path starts with ^ and ends with $ thus making it a regex- Parameters:
testPath- The path string to test- Returns:
- true if regex (starts with "^" and ends with "$")
-
-