Report question

Question: Javascript storing regex in a variable