[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Orgmode] Use of \w Emacs regexp in org-export-bibtex.el excludes BiBTeX
[Orgmode] Use of \w Emacs regexp in org-export-bibtex.el excludes BiBTeX filenames with underscore
Fri, 14 Aug 2009 10:31:38 -0700
In contrib/lisp/org-export-bibtex.el, the BiBTeX file has to match the Emacs
regexp "\w+". So a line like
will not work because of the underscore character in the filename. (I suppose
the actual behavior depends on the local Emacs settings that affect the "syntax
table".) May I propose changing the regexp to "[[:alnum:]_]+"?
Initially, I was stumped by this because I thought \w was a "regular" regexp
:), such as defined in sed, and would match underscores as well.
- [Orgmode] Use of \w Emacs regexp in org-export-bibtex.el excludes BiBTeX filenames with underscore,
Hsiu-Khuern Tang <=