Ch i g (elisp) Regexp Special RET
Note also that the usual regexp special characters are not special inside a character alternative. A completely different set of characters is special inside character alternatives: `]', `-' and `^'.
Thus, [*\f]+ matches any sequence of at least one character length and contains (only) any number and combination of asterisks, backslashes, and the letter "f".
EDIT:
Ah, you really meant "[*\f]" , didn't you? This is not the same as regexp [*\f] (since the latter will be represented in the line-reading syntax as "[*\\f]" ).
Make sure you specify the correct one.
If you were referring to "[*\f]" , then \f really a feed-feed, as evidenced by other answers.
phils source share