simple regexp problem. what am i forgetting?


    Sep 02 2011 | 11:32 pm
    i can't get this simple regexp thing to work, it's part of a more complicated expression. i used to understand how greedy/lazy stuff is related, but why isn't this working. thanks for any help.

    • Sep 03 2011 | 9:36 pm
      The ? after (TEST) shouldn't be there. I would use rather | as in the following patch.
      cheers, yp
    • Sep 04 2011 | 4:33 pm
      thanks! didn't even think about using the "or" like that.