Eli Zaretskii <e...@gnu.org> writes: > Do you happen to know, or can measure, how much faster is the latest > version? Given the timing provided by the OP, it'd have to be at > least 100 times faster, to avoid annoying delays after each command.
Basically it is, (search-forward "call_") versus (re-search-forward "\\([^\n]*?\\)call_\\([^()[:space:]\n]+?\\)\\(\\[\\(.*?\\)\\]\\|\\(\\)\\)(\\(.*?\\))\\(\\[\\(.*?\\)\\]\\)?") Of course, the speed factor depends on the length of the lines in the document, but it could make a significant difference for the OP. Regards, -- Nicolas Goaziou