in reply to Understanding regex

I wonder... do you know what .+ means? (I'm taling about greedy vs non-greedy)...

And why do you want to use another regex in the first place? if your first one prints what you expect?

And why do you even botter posting a message before leaving?
I doubt that any one will still be looking at the node when you come back from your vacation... which means that if you have other questions about it you need to repost it... and/or that others have to re-look at the problem. IMHO both of those things are bad.

Update: to clear up my re-posting point: If you still have troubles (when you came back) with the same regex/the same code (or wanted to reply to a comment), then you would have to re-post the question, since almost noone (or atleast that's what I believe) looks back at nodes that are over a week old... But ofcourse all this is irrelevant now.

Replies are listed 'Best First'.
Re^2: Understanding regex
by Hena (Friar) on Apr 29, 2005 at 11:53 UTC
    I was helping out another person with his regex and he can check it out. Besides I got the answer before I left so... Also even if i had got an asnwer after I had left, I can come back to this node and see what people posted later that day. I don't need to repost it later.

    Using dot would've ruined another line that would have come along later (pattern is used in input file per line). I do have a ability to make insignificant mistakes, which tend to take hours to figure out and result always seems to besomeone else saying 'hey your missing a , in there'or something similar :).