pattern_clustering.regexp.make_re_hex_digit

make_re_hex_digit(lower_case: bool = True, upper_case: bool = True) str[source]

Builds the regular expression catching hexadecimal values.

Parameters
  • lower_case (bool) – Pass False to discard lower case values.

  • upper_case (bool) – Pass False to discard upper case values.

Returns

The string storing the regular expression.