code: def add_regex_start_end(pattern_function):
      
  
      @wraps(pattern_function)
      def func_wrapper(*args, **kwargs):
          return r'^{}$'.format(pattern_function(*args, **kwargs))
      return func_wrapper
docs: Decorator for adding regex pattern start and end characters.