On 6 Aug., 14:05, [EMAIL PROTECTED] (Rob Coops) wrote: > You are almost right, since it prints all lines all lines match. > > Could you explain what it is that you are trying to match, that way people > might be able to help getting the regex right.
i forgot about this thread, since it took so long time before I could see it - sorry! Anyway, in the meantime I located the problem, and: yes, you are right that the problem was the regex. I forgot to escape the pipe ("|"), which were intended to be the explicit character. Thanks anyway. /Kenneth -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/