Support dynamic grep

With this change, grep is applied when we add or remove new regexp.

TODO:

  * Supporting re-grep for "and" or "or" change