Greedy quantifier

Discussion in 'Java' started by -, Jul 11, 2005.

  1. -

    - Guest

    When using regex, most of the time i find myself using reluctant
    quantifiers more than greedy's.

    Can someone give a situation where greedy quantifier is best needed?
    -, Jul 11, 2005
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Dan Kelly

    Greedy and non greedy quantifiers

    Dan Kelly, Jan 17, 2008, in forum: Ruby
    Replies:
    4
    Views:
    138
    Robert Klemme
    Jan 19, 2008
  2. Matt Garrish

    greedy v. non-greedy matching

    Matt Garrish, Feb 16, 2004, in forum: Perl Misc
    Replies:
    4
    Views:
    156
    Matt Garrish
    Feb 16, 2004
  3. Philippe Aymer
    Replies:
    12
    Views:
    210
    Philippe Aymer
    Oct 14, 2004
  4. Replies:
    19
    Views:
    403
    Dr.Ruud
    May 7, 2006
  5. cibalo
    Replies:
    1
    Views:
    177
    Damien Wyart
    May 17, 2013
Loading...

Share This Page