On Thursday 10 June 2004 16:21, Graf Laszlo wrote: > Hi Jose > > Thank you for your last reply. It did work. > But now I have to make some changes in my lines: > By example: > > <sm:a> > <sm:b> > BBB > </sm:b> > <sm:cs> > <sm:c no="1"> > CCC1 > </sm:c> > <sm:c no="2"> > CCC2 > </sm:c> > </sm:cs> > </sm:a> > > As you can see, I put <sm:cs> wich means more <sm:c>s. > I prefer this form // .. // of regexp. > How should I change it to match all lines which contain 'sm:', > no matter of following characters ? > > Graf Laszlo
This is a test program I made to understand regular expressions & search and replace. invoke it -- ./leet string I thought about changing it to add something with null or something... but I haven't finished it eversince then. -- Linux 2.6.6 (Gentoo) i686 P4 Your best consolation is the hope that the things you failed to get weren't really worth having.
leet
Description: Perl program
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>