Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: vi: '.' in search strings broken?



hi, all.

> Yes.  Well, I would have said "regular expressions are totally broken in
> nvi".  A litte more systematic testing seems to show that most things
> work, except:
>
>   . doesn't match anything
>   [] groups containing more than one character don't match anything

it seems that this bug caused by -Wsign compare issue.
backout following commit may work correctly.

    src/dist/nvi/regex/engine.c r1.4 -> r1.3
    src/dist/nvi/regex/regcomp.c r1.4 -> r1.3


very truly yours.
-- 
Takehiko NOZAKI<takehiko.nozaki%gmail.com@localhost>


Home | Main Index | Thread Index | Old Index