* bug fix (pattern handler regex too weak, also matched %variable%)