<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 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)