class_docstr: Base class for configuration classes that need to respect the same API than PretrainedConfig but with a different
  configuration file name.
class_docstr_tok: ["Base","class","for","configuration","classes","that","need","to","respect","the","same","API","than","PretrainedConfig","but","with","a","different","configuration","file","name","."]
code: def _re_configuration_file(cls):
      return re.compile(
          rf"{cls.FULL_CONFIGURATION_FILE.split('.')[0]}(.*)\.json"
      )
  
file_path: optimum/optimum/configuration_utils.py
imports: import copy
  import json
  import os
  import re
  from typing import Any, Dict, List, Tuple, Union
  from huggingface_hub import HfFolder
  from packaging import version
  from transformers import PretrainedConfig
  from transformers import __version__
  from .utils import logging
  from .version import __version__
label_desc: Use image node_id 1 for calling the BaseConfig obj's underlying member method code with example usage: obj._re_configuration_file(cls) and returns: re