Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Bug w/matching control



I'm seeing a problem with matching control and characters being deleted. I'm
using the data from workers/13320

I've attached a patch to 54compmatch.  I think the output should be the same as
the previous testcase.  Though this time with input of "g-2", we get a
"glibc-", with the 2 deleted.  This isn't checked in, since it won't pass.

The actual output seen from the test is:
! line: {tst glibc}{-2.1.94-3.i386.rpm}
  COMPADD:{}
! INSERT_POSITIONS:{9:27}
--- 1,3 ----
! line: {tst glibc-}{}
  COMPADD:{}
! INSERT_POSITIONS:{10}

-FR


__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/
Index: 54compmatch.ztst
===================================================================
RCS file: /cvsroot/zsh/zsh/Test/54compmatch.ztst,v
retrieving revision 1.8
diff -r1.8 54compmatch.ztst
623a624,630
>  test_code $workers_13320_matcher workers_13320_list
>  comptest $'tst g-2\t'
> 0:Test from workers 13320
> >line: {tst glibc}{-2.1.94-3.i386.rpm}
> >COMPADD:{}
> >INSERT_POSITIONS:{9:27}
> 


Messages sorted by: Reverse Date, Date, Thread, Author