spellcast.js regexp filter
variable substitution filtering