Use RegExp consistently.