The expression reftex-view-crossref-extra sets additional patterns for reftex-view-crossref function. It consists of Macro Regexp, Search Regexp and Highlight Group(as illustrated below):

(MACRO-RE SEARCH-RE HIGHLIGHT).

MACRO-RE is matched against the macro. SEARCH-RE is the regexp used to search for cross references. `%s' in this regexp is replaced with with the macro argument at point. HIGHLIGHT is an integer indicating which subgroup of the match should be highlighted.

I'm trying to match the following pattern (org-mode footnotes):

[fn:author2000title:Optional text]

author2000title is the biblatex label that i want to have a match for. How can i write MACRO-RE and SEARCH-RE, such that reftex-view-crossref works on these kind of records?

Edit
Report