Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Adding todos with reserved words #8
Conversation
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
samtsai commentedFeb 9, 2012
First thing I tried to do (no pun intended) was add a todo item that began with "check..."
I realized that the command api was accepting (.+) and so I decided to make the regex slightly stricter with validating for digits. I didn't want to overcomplicate the app, but I think it is worth allowing flexibility with what I'm calling reserved words (check, rm, undo...).
PS this is my first pull request. I had a branch but I've already merged all my changes to master and deleted the branch.