[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Monotone-devel] Please review nvm.deregexp
From: |
Zack Weinberg |
Subject: |
[Monotone-devel] Please review nvm.deregexp |
Date: |
Fri, 28 Sep 2007 23:04:16 -0700 |
I'm just about done with the project of removing as many internal uses
of regular expressions from the 'mtn' binary as is practical. I would
appreciate review of net.venge.monotone.deregexp. The files most
substantially changed are uri.cc, packet.cc, and glob.cc. I'm very
confident in the changes to uri.cc, which is quite simple; less so the
other two. Especially, while I think that there's no way to get the
new glob implementation to go into unbounded recursion, I can't quite
prove it, and the matching unit tests are somewhat feeble.
Remaining uses of regular expressions are for the diff -p feature, in
lua hooks, and in the testsuite. I don't think it's practical to
eliminate hardly any of these (the biggest remaining one that could go
is .mtn-ignore, and that would be a major flag day). Therefore, my
plan is to work on merging the .experiment.pcre branch next; but I'd
like to get this laid down first.
zw
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Monotone-devel] Please review nvm.deregexp,
Zack Weinberg <=