Say, for example, I want to know whether the pattern \"\\section\" is in the text \"abcd\\sectiondefghi\". Of course, I can do this:
import re motif = r\"\\\\se