Hi all, I could use a bit of help with a regexp. I am trying to fine tune the org-ref citation regexp to make it orthogonal to org-cite.

I want to recognize these as org-ref links 

[[cite:schuett-2018-schnet]]
   cite:schuett-2018-schnet

but not

 [cite:@schuett-2018-schnet]

so either 0 or 2 [[ can prefix it to be a cite link in org-ref, but not 1 [.

right now the cite: in the org-cite syntax is getting flagged as bad cite link which I want to avoid.

is this doable?


John

-----------------------------------
Professor John Kitchin (he/him/his)
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803