codeforamerica/MuniciPal — pull request #61 by techieshark (2014-10-25 02:52:27+00:00)
Title: fix null text bug: match any character, including newlines

- Start from the beginning of the text (regex start of line: ‘^’).
- The ‘.’ in regex matches any character excluding newlines.
- The character set of \s + \S matches any character including newlines.
- Before when excluded newlines, we were dropping some short sentences at the start of the text and only matching longer lines that didn’t have newlines in them. This fixes that.

- Fixes #37