Regular Expressions Question

2000-02-03 Thread Randall J . Million
What is the difference between these two commands? set quote_regexp="^[ \t]*[A-Z]{,3}[~|>:}#%]" set quote_regexp="^[ \t]*[A-Z]{0,3}[~|>:}#%]" According to what I read in the manual, they should be equivalent, the first being preferred. But, the first command does not give the expected output. I

Re: Regular Expressions Question

2000-02-03 Thread Eugene Lee
On Thu, Feb 03, 2000 at 09:20:58AM -0500, Randall J . Million wrote: : :What is the difference between these two commands? : :set quote_regexp="^[ \t]*[A-Z]{,3}[~|>:}#%]" :set quote_regexp="^[ \t]*[A-Z]{0,3}[~|>:}#%]" : :According to what I read in the manual, they should be equivalent, the :first

Re: Regular Expressions Question

2000-02-04 Thread Randall J . Million
> Does "{,m}" mean "{0,m}" or "{1,m}"? I don't know; I haven't looked at > the source to tell. I would assume (from my understanding of English) that it should be "{0,m}". If not, the manual shoould be changed to reflect this. randy -- Five hundred, twenty-five thousand six hundred minutes, h