Pastebin

Paste #1543: regex example

< previous paste - next paste>

Pasted by chrivers

Download View as text

M = None

def match(re, line):
    global M
    M = re.match(line)
    return bool(M)

New Paste


Do not write anything in this field if you're a human.

Go to most recent paste.