Try "\\\\cite[tp]?{\\(.*?\\)}" or "\\\\cite.?{\\(.*?\\)}"insteadKen Mankoff <mankoff@gmail.com> writes:
> Hi,
>
> I find the ODT export very useful. Working on another document imported from LaTeX I have a lot of \citep{} and \citet{} in addition to \cite{}. Is it possible for ox-jabref.el to
> support this even if it does not distinguish between the T and P?
>
> I edited the line near the bottom with the regex and changed
>
> (value (∧ (string-match "\\\\cite{\\(.*?\\)}" latex-frag)
>
> to
>
> (value (∧ (string-match "\\\\cite?{\\(.*?\\)}" latex-frag)
>
(untested).
--
> But it did not help.
>
> -k.
>
Nick