Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
paragraph = """Although never is
often better than
*right* now.
If the implementation
is hard to explain,
it's a bad idea.
If the implementation
is easy to explain,
it may be a good
idea. Namespaces
are one honking
great idea -- let's
do more of those!
"""
m = re.findall("^If",
paragraph,
re.MULTILINE)
print(m)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment