Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[tlug] perl regexp question



is it possible to write a regexp that will do 
something like the following:

file10.txt -> file11.txt
file20.txt -> file21.txt
file55.txt -> file56.txt

etc.

something along the lines of s/(\d+)/$1+1/
though obviously that doesn't work.

is it not possible to manipulate the values
in the capture buffers like this?

ryan



Attachment: signature.asc
Description: This is a digitally signed message part


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links