Replace bad rstrip use with regex substitution
Publish version 1.0.2