Updated regex.
Updated regex
Minor changes.
Tweaked regex, fixed post.printpost()