nooodle/noodleapp — pull request #82 by mattflaschen (2012-11-03 03:26:42+00:00)
Title: Fix and simplify length validation

There are two separate commits. The first simplifies the character check. It removes a bit of code. It should do the same thing more concisely, but I would appreciate another set of eyes. There were some anomalies (and I believe unreachable code) in the old version.

The second changes it to calculate the effective length. Currently, this means excluding the markdown syntax and URLs.

I think this is pretty useful. Since URLs don't count, you can fit a lot more information. Case in point, I just posted a good-sized [Hurricane Sandy charity list](http://app.noodletalk.org/user/mattflaschen/#/post/1358767/mattflaschen).