8 lines
225 B
Python
8 lines
225 B
Python
import re
|
|
r = re.compile(r"^\*\*\s*Status\s*:(.*)$")
|
|
test = "**Status: open and unclaimed.** Sphinx's lane by authorship; anyone may take it."
|
|
m = r.match(test)
|
|
print("match:", bool(m))
|
|
if m:
|
|
print("group1:", m.group(1))
|