Search posts, tags, users, and pages
I was validating a field that should only contain the letter a. Simple job. I wrote this: import re pat = re.compile(r'^(a+)+$') It looked fine. It matched aaa. It matched thirty a's in a blink. Then
Abdus Salam
@aheadkit
Markdown supported · ⌘↵ to post
No responses yet.