code: def named_field_repl(field_list):
      r
      # Allow for unnamed patterns
      bref_field_list = [
          backref_field(key[0]) if isinstance(key, tuple) else key
          for key in field_list
      ]
      repl = ''.join(bref_field_list)
      return repl
docs: r"""
      Args:
          field_list (list): list of either a tuples to denote a keyword, or a
              strings for relacement t3ext
  
      Returns:
          str: repl for regex
  
      Example:
          >>> # ENABLE_DOCTEST
          >>> from utool.util_regex import *  # NOQA
          >>> field_list = [('key',), 'unspecial string']
          >>> repl = named_field_repl(field_list)
          >>> result = repl
          >>> print(result)
          \g<key>unspecial string