** Description changed:

  Binary package hint: vim
  
  The regular expression for the element debchangelogTarget is broken. 
  Right now its:
  
  syn match debchangelogTarget    contained "\v
  %(frozen|unstable|%(testing|%(old)=stable)=%(-proposed-
  
updates|-security)=|experimental|%(etch|lenny)-%(backports|volatile)|%(dapper|gutsy|hardy|intrepid|jaunty|karmic)%(-%(security|proposed|updates|backports|commercial|partner))=)+"
  
  the probmlem is the part with 
...|%(testing|%(old)=stable)=%(-proposed-updates|-security)=|...
- if no part of this alternative is selected in the changelog file this part 
will be substitued as an empty word which isn't allowed in vim. 
+ if no part of this alternative is selected in the changelog file this part 
will be substitued as an empty word which isn't allowed in vim, so the regex is 
only evaluated to this point.
  
  The fix would be to remove the = after stable so the alternative won't be 
empty any more. 
  Complete:
  
  syn match debchangelogTarget    contained "\v
  %(frozen|unstable|%(testing|%(old)=stable)%(-proposed-
  
updates|-security)=|experimental|%(etch|lenny)-%(backports|volatile)|%(dapper|gutsy|hardy|intrepid|jaunty|karmic)%(-%(security|proposed|updates|backports|commercial|partner))=)+"
  
  I tested it and it works.

-- 
[karmic] vim-7.2.148-2ubuntu2 - broken regexp in debchangelog.vim
https://bugs.launchpad.net/bugs/392086
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to