On Thu, Apr 05, 2001 at 11:54:15PM -0700, [EMAIL PROTECTED] wrote:
> So the trick would be to construct the correct expression using the
> beginning and ending characters or strings...

It is, as it turns out, possible to force without the ^.

Google search gives:
Quantifier      Description
\{-}            matches 0 or more of the preceding atom, as few as possible
\{-n,m}         matches 1 or more of the preceding characters...
\{-n,}          matches at lease or more of the preceding characters...
\{-,m}          matches 1 or more of the preceding characters...
                where n and m are positive integers (>0)

Of course I should have done this earlier... and I did... but until that
particular search I hadn't discovered the glories of Vim Regular Expressions
101 at http://physlab.sci.ccny.cuny.edu/~orycc/vim-regex.html

Mary.

-- 
Mary Gardiner
<[EMAIL PROTECTED]>
GPG Key ID: 77625870

_______________________________________________
techtalk mailing list
[EMAIL PROTECTED]
http://www.linux.org.uk/mailman/listinfo/techtalk

Reply via email to