Created
June 14, 2016 15:00
-
-
Save saml/23648c218a83edf3257a75e03a013c25 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
import re | |
var r = re.re("((a+)+)$") | |
if re.match("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaab", r): | |
echo("good") | |
else: | |
echo("bad") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment