I want to search for an regular expression with the function re-search-forward
When I tried using the examples from the page here: https://www.emacswiki.org/emacs/RegularExpression#toc1
specifically the regular expression \w\{20,\}
used to search for a word with 20 letters or more, I get an error.
Here I am placing my cursor after the closing parenthesis in my Lisp buffer and pressing C-x C-e
for evaluating it.
However, when I use the Regexp I-search via,
C-M-s
it highlights the correct word as expected.
Why is this?