Return a regular expression for a punctuation string.

def _convert_punctuation(punctuation, conversion_table):
    """Return a regular expression for a punctuation string."""
    if punctuation in conversion_table:
        return conversion_table[punctuation]
    return re.escape(punctuation)