[Geany-Users] Geany regexp: sequential numbering

Andrea Paganini ap_9 at xxxxx
Sun Oct 26 13:30:22 UTC 2014

I have 100 lines, I want to add 001 at the beginning of the first, 002 at the second, 003 at the third, and so on.
In emacs I can replace   ^   with     \,(format "%03d" (1+ \#))

Is it possible to do something like this in geany? I've read the documentation on regular expressions but I couldn't find a solution.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.geany.org/pipermail/users/attachments/20141026/7fe35e6d/attachment.html>

More information about the Users mailing list