use notification popup for regexp error instead of alert box.