R 2.2 bug 11378

Fix to unable to save chunk, tv due to bad regexp rule. Fix to 2.2.* this time