Class RegexValidationUtil


  • public final class RegexValidationUtil
    extends Object
    RegexValidationUtil - All functions related to regex operations.
    Since:
    - 11/7/2019.
    Author:
    - srijas
    • 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 "$")