类 RegexPatterns

java.lang.Object
io.github.tcq1007.valid.errorcode.constants.RegexPatterns

public final class RegexPatterns extends Object
Constants for regex patterns used in error code extraction
  • 字段详细资料

    • ENUM_CONSTRUCTOR_FIRST_INT

      public static final String ENUM_CONSTRUCTOR_FIRST_INT
      Pattern for matching enum constructor with the first integer parameter. Matches patterns like "ENUM_NAME(123, "message")".
      另请参阅:
    • CONSTRUCTOR_ARGUMENTS

      public static final String CONSTRUCTOR_ARGUMENTS
      Pattern for extracting constructor arguments. Matches content within parentheses: (arg1, arg2, arg3).
      另请参阅:
    • NON_DIGIT_EXCEPT_MINUS

      public static final String NON_DIGIT_EXCEPT_MINUS
      Pattern for removing non-digit characters except the minus sign. Used to clean parameter strings and extract only numeric values.
      另请参阅: