fix regexp quoting for contains