def wrap(s, prefix=r'<STR_LIT>', suffix=r'<STR_LIT>', grouper='<STR_LIT>'):
return ((prefix or '<STR_LIT>') + try_get(grouper, <NUM_LIT:0>, '<STR_LIT>') + (s or '<STR_LIT>') +<EOL>try_get(grouper, <NUM_LIT:1>, try_get(grouper, <NUM_LIT:0>, '<STR_LIT>')) + (suffix or '<STR_LIT>'))<EOL>
r"""Wrap a string (tyically a regex) with a prefix and suffix (usually a nonconuming word break)
    Arguments:
      prefix, suffix (str): strings to append to the front and back of the provided string
      grouper (2-len str or 2-tuple): characters or strings to separate prefix and suffix from the middle
    >>> wrap(r'\w*')
    '\\b(\\w*)\\b'
    >>> wrap(r'middle', prefix=None)
    '(middle)\\b'