class_docstr: TagBitMaskResponse
class_docstr_tok: ["TagBitMaskResponse"]
docstr: Validates the regular expression
docstr_tok: ["Validates","the","regular","expression"]
code: def bit_mask_data_validate_regular_expression(cls, value):
      """Validates the regular expression"""
      if not re.match(r"^0x[a-f0-9]+$", value):
          raise ValueError(
              r"must validate the regular expression /^0x[a-f0-9]+$/"
          )
      return value
  
file_path: lightly/lightly/openapi_generated/swagger_client/models/tag_bit_mask_response.py
imports: from __future__ import annotations
  import pprint
  import re
  import json
  from pydantic import Extra, BaseModel, Field, constr, validator
label_desc: Use image node_id 1 for calling the TagBitMaskResponse obj's underlying member method code with example usage: obj.bit_mask_data_validate_regular_expression(cls, value) and returns: value