-
-
Save amankharwal/429ec2c407b52fd2a7e6c7cff172cbd1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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