Hacker News new | past | comments | ask | show | jobs | submit login

I have to fiddle with it, but I'm planning on multi word categories. I'm not sure how ios handles intentional newlines. I might just change it to "category amount description" instead of "amount category description" to remove any questions of how to parse things.

Edit: Yeah, category then description. Quotes are definitely another option. I realized I got caught up and just ignored part of your post while replying...




just normalize all whitespace i.e. s/\s+/ /g then try to match one word, two words etc.. until you hit a category name.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: