Report question

Question: JavaScript create regex programmatically