Hello,
I'm trying to solve the following task:
In a .c source file among others I have some comments of special form:
<some blanks> /* Network <number>:
These comments marks special peaces of source code. <number> is a number,
that must be incremented in succession in every "Network". During the
programming user can add, delete and insert the "Networks" (marked pieces of
code) - so it's necessary to renumber all Networks.
The problem is: I found out that it is impossible to use quantifier + in
(?<=) assertion and I can not force Perl to "lookbehind" when the number of
blanks is not defined yet.
Then, how can I pick the <number> and replace it with some needed value
within s/.../.../ ?
Thank you,
Alexei Lioubimov
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]