new RegExp(/[()!]/g) is equivalent to 
/[()!]/g -> more concise this way.