class_docstr: SelectionConfigEntryInput
class_docstr_tok: ["SelectionConfigEntryInput"]
docstr: Validates the regular expression
docstr_tok: ["Validates","the","regular","expression"]
code: def score_validate_regular_expression(cls, value):
      """Validates the regular expression"""
      if value is None:
          return value
  
      if not re.match(r"^[a-zA-Z0-9_+=,.@:\/-]*$", value):
          raise ValueError(
              r"must validate the regular expression /^[a-zA-Z0-9_+=,.@:\/-]*$/"
          )
      return value
  
file_path: lightly/lightly/openapi_generated/swagger_client/models/selection_config_entry_input.py
imports: from __future__ import annotations
  import pprint
  import re
  import json
  from typing import List, Optional
  from pydantic import Extra, BaseModel, Field, StrictInt, conlist, constr, validator
  from lightly.openapi_generated.swagger_client.models.selection_input_predictions_name import SelectionInputPredictionsName
  from lightly.openapi_generated.swagger_client.models.selection_input_type import SelectionInputType
label_desc: Use image node_id 2 for calling the SelectionConfigEntryInput obj's underlying member method code with example usage: obj.score_validate_regular_expression(cls, value) and returns: value, value