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

Bug#555794: dh_ocamldoc: wrong regexp to detect ocamldoc flags



On Wed, Nov 11, 2009 at 10:09:37PM +0100, Mehdi Dogguy wrote:
> > The thing that the need to leave a heading whitespace is not documented,
> Is it a matter of documentation then? :p

No, it is a matter of "sane default" :-P

> BTW, I don't remember having discussed this issue with you, ever.

No problem, I remember discussing that on IRC, but it is of absolutely
there importance (I can be of course wrong!), the important thing is
fixing it :-)

FWIW, I've just discovered an even more annoying sub-bug of this, namely
that --include must be on column 0, because the regexp looks like
/^--include/. Also in that case, it would be way better to check for a
word boundary instead of for the beginning of the line.

TIA,
Cheers.

-- 
Stefano Zacchiroli -o- PhD in Computer Science \ PostDoc @ Univ. Paris 7
zack@{upsilon.cc,pps.jussieu.fr,debian.org} -<>- http://upsilon.cc/zack/
Dietro un grande uomo c'è ..|  .  |. Et ne m'en veux pas si je te tutoie
sempre uno zaino ...........| ..: |.... Je dis tu à tous ceux que j'aime



Reply to: