First Point: The issue was that there was no comma after the allowedTags array. In JavaScript object literals, you need commas between properties.
Second point using [/.*/] is working fine on my side