english names for symbolic SREs Alex Shinn (26 Nov 2013 13:01 UTC)
Re: english names for symbolic SREs John Cowan (26 Nov 2013 15:20 UTC)
Re: english names for symbolic SREs Arthur A. Gleckler (26 Nov 2013 16:22 UTC)
Re: english names for symbolic SREs Michael Montague (26 Nov 2013 17:47 UTC)
Re: english names for symbolic SREs John Cowan (26 Nov 2013 18:28 UTC)
Re: english names for symbolic SREs Michael Montague (26 Nov 2013 21:13 UTC)
(missing)
(missing)
(missing)
(missing)
(missing)
Re: english names for symbolic SREs John Cowan (27 Nov 2013 22:05 UTC)
Re: english names for symbolic SREs Alex Shinn (27 Nov 2013 22:32 UTC)
Re: english names for symbolic SREs Kevin Wortman (27 Nov 2013 23:33 UTC)
Re: english names for symbolic SREs Alex Shinn (28 Nov 2013 00:22 UTC)
Re: english names for symbolic SREs John Cowan (28 Nov 2013 01:46 UTC)
Re: english names for symbolic SREs Alex Shinn (28 Nov 2013 04:02 UTC)
Re: english names for symbolic SREs Kevin Wortman (29 Nov 2013 23:13 UTC)
Re: english names for symbolic SREs John Cowan (27 Nov 2013 23:44 UTC)
Re: english names for symbolic SREs Arthur A. Gleckler (28 Nov 2013 00:26 UTC)
Re: english names for symbolic SREs John David Stone (30 Nov 2013 14:56 UTC)
Re: english names for symbolic SREs Michael Montague (30 Nov 2013 14:56 UTC)
Re: english names for symbolic SREs Alex Shinn (30 Nov 2013 23:26 UTC)
Re: english names for symbolic SREs Michael Montague (01 Dec 2013 15:37 UTC)
Re: english names for symbolic SREs Alex Shinn (02 Dec 2013 00:33 UTC)
Re: english names for symbolic SREs Michael Montague (02 Dec 2013 17:51 UTC)
Re: english names for symbolic SREs John Cowan (02 Dec 2013 18:28 UTC)
Re: english names for symbolic SREs Michael Montague (02 Dec 2013 19:10 UTC)
Re: english names for symbolic SREs Peter Bex (26 Nov 2013 21:30 UTC)
Re: english names for symbolic SREs Michael Montague (30 Nov 2013 14:56 UTC)
Re: english names for symbolic SREs Michael Montague (28 Nov 2013 15:35 UTC)
Re: english names for symbolic SREs Alex Shinn (29 Nov 2013 23:29 UTC)

Re: english names for symbolic SREs John Cowan 28 Nov 2013 01:46 UTC

Alex Shinn scripsit:

> One final thing, do people prefer the 'non-greedy-' prefix
> or the 'lazy-' prefix?  What's actually happening is that in
> submatches which include the repetition, the semantics
> will switch from leftmost-longest match to leftmost-shortest,
>
> As far as I can tell "non-greedy" is a more common description,
> and I initially avoided "lazy" because it might be confused
> with lazy evaluation.  Java apparently calls them "reluctant."
> But lazy is the shortest.

I prefer "non-greedy", because it is the most common term.  Note that Java
has not only greedy and reluctant (= non-greedy), but also possessive
(notated *+, matches everything, never backtracks).  I have been unable
to see the use of this, however.

--
What has four pairs of pants, lives             John Cowan
in Philadelphia, and it never rains             http://www.ccil.org/~cowan
but it pours?                                   xxxxxx@ccil.org
        --Rufus T. Firefly