Re: returning problem of regexp

2004-06-11 Thread Graf Laszlo
++; } wich returns these lines: sm:a sm:b BBB /sm:b sm:cs - the first watched line is present sm:c no=1 CCC1 /sm:c sm:c no=2 CCC2 /sm:c - the last two are missing from the end What is wrong in regexp ? Graf Laszlo Ziggy wrote: On Thursday 10 June 2004

returning problem of regexp

2004-06-10 Thread Graf Laszlo
CCC2 /sm:c /sm:cs /sm:a As you can see, I put sm:cs wich means more sm:cs. 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 -- To unsubscribe, e-mail: [EMAIL PROTECTED

regexp

2004-05-19 Thread Graf Laszlo
Hi I have the following HTML structure: sm:a sm:b BBB /sm:b sm:c CCC /sm:c /sm:a Every line in this structure is an element of an array, named @lines, and I access the elements using a foreach loop. When I know the tag's name, by