make regex rule non-capturing