Looking at this stackoverflow answer on an old way for specifying the org-file-apps list, I can see that there is a backslash followed by a single-quote character after each file type extension, e.g. ...pdf\\'"...

What does it mean? What purpose does the backslash plus quote serve?

1 Answer 1


It's a special construct in emacs regexp that matches the end of a string (not just the end of a line). Quoting the the manual


matches the empty string, but only at the end of the string or buffer (or its accessible portion) being matched against.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.