class_docstr: InitialTagCreateRequest
class_docstr_tok: ["InitialTagCreateRequest"]
docstr: Validates the regular expression
docstr_tok: ["Validates","the","regular","expression"]
code: def run_id_validate_regular_expression(cls, value):
      """Validates the regular expression"""
      if value is None:
          return value
  
      if not re.match(r"^[a-f0-9]{24}$", value):
          raise ValueError(
              r"must validate the regular expression /^[a-f0-9]{24}$/"
          )
      return value
  
file_path: lightly/lightly/openapi_generated/swagger_client/models/initial_tag_create_request.py
imports: from __future__ import annotations
  import pprint
  import re
  import json
  from typing import Optional
  from pydantic import Extra, BaseModel, Field, constr, validator
  from lightly.openapi_generated.swagger_client.models.image_type import ImageType
  from lightly.openapi_generated.swagger_client.models.tag_creator import TagCreator
label_desc: Use image node_id 2 for calling the InitialTagCreateRequest obj's underlying member method code with example usage: obj.run_id_validate_regular_expression(cls, value) and returns: value, value