Hello, Gerald Wildgruber <[email protected]> writes:
> I had actually tried that already and came up with the following regex: > > \([^ ]\)\(\[\)\([0-9]\) --> \1\2fn:\3 > > i.e. three groupings: 1) no whitespace, 2) "[" and 3) a number, and then > introducing "fn:" between "[" and the number: but it is not perfect, as > it still gives false positives; do you have something better? I would use (and, in fact, used) \\[\\([0-9]+\\)\\] --> \\[fn:\\1\\] and eyeballing the results. > The problem unfortunately arises also by pandoc still using the now > obsolete syntax of plain footnotes when converting (e.g. latex) to org > mode! I'm certain Pandoc importer will ultimately catch-up. Regards, -- Nicolas Goaziou
