For very large posts (~18k) with lots of markup, these regexes were causing enough backtracking for php to run out of memory, silently generating an empty entry.  This tightens up the regexes so they do less backtracking.
Merge pull request #630 from mexon/bbcode-regex-fix

For very large posts (~18k) with lots of markup, these regexes were caus...