Add basic regex functionality to plString