epanda wrote:
I would like to identify in a pattern a number wich is not

        preceded by     another number    a word or a ';'
        followed
by       ;number
~      ;\d+

I have tried this  s/\d+(?<!\w)/aWord/g  without success.

You probably want to reverse the order.

    /(?<!\w)\d+/

--
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi-bin/contact.pl

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to