1 Reply Latest reply on Jun 26, 2013 12:03 PM by TᴀW

    Grep and the question mark

    Chris Z. Level 1

      Hi,

      I was hoping someone could clear this up for me. . .

       

      The question mark seems to be both a way to make a search term optional as well as a way of making a search non-greedy.

       

      When exactly does it perform one task and not the other?

       

      I've successfully used it both way, I'm just not sure why it works one way or the other.

       

      Thanks,

      Chris