Bad Ideas and Regular Expressions in Templates