On Tue Jul 13 14:40:02 EDT 2010, r...@swtch.com wrote:
> I think you have found a real bug.
> 
> I created a new window containing
> 
>    x x+ x- xy
> 
> and I executed Edit ,x/x[ +\-]/d
> and sure enough it doesn't delete x-.

this really does work for me at coraid, but not at home.
the only difference i see is the fact that at coraid, 16-bit
runes are used, while i am using 32-bit runes.

/n/coraid//sys/src/cmd/acme/regx.c:487,493 - regx.c:487,493
                        exprp++;        /* eat '-' */
                        if((c2 = nextrec()) == ']')
                                goto Error;
-                       classp[n+0] = 0xFFFF;
+                       classp[n+0] = Runemax;
                        classp[n+1] = c1;
                        classp[n+2] = c2;
                        n += 3;

- erik

Reply via email to