adding regex snippets