elpy-mode internally uses this command to search for a regexp
in *.py files.
(setq elpy-rgrep-file-pattern "*.py")
(rgrep regexp
elpy-rgrep-file-pattern
default-directory))
However elpy-rgrep-file-pattern
is customisable. I want to include html files also while searching.
I have tried the following patterns
(setq elpy-rgrep-file-pattern "*.py|*.html")
(setq elpy-rgrep-file-pattern "*.py\|*.html")
(setq elpy-rgrep-file-pattern "*.(py\|html)")
(setq elpy-rgrep-file-pattern "py\|html")
(setq elpy-rgrep-file-pattern '(("html" . "*.html") ("py" . "*.py")))
but nothing seems to work. How do I correctly specify file pattern to search *.py & *.html files?