[Geany-Users] Geany regexp: sequential numbering
lists.ban at xxxxx
Sun Oct 26 16:08:45 UTC 2014
Le 26/10/2014 14:30, Andrea Paganini a écrit :
> 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.
Not that I know of, no. We use standard PCRE regular expressions that
don't provide such features.
More information about the Users