[hipl-dev] Re: [Merge] lp:~ptman/hipl/methods-to-functions into lp:hipl

  • From: Miika Komu <mkomu@xxxxxxxxx>
  • To: mp+102584@xxxxxxxxxxxxxxxxxx
  • Date: Fri, 20 Apr 2012 10:56:19 -0000

I was talking about these two (redundant?) definitions:

tools/hipdnsproxy/hipdnsproxy.in (l:20)
+HIT_RE = re.compile(r'[^0-9a-f:](?P<hit>2001:1[0-9a-f]:[0-9a-f:]*)[^0-9a-f:]')

tools/hipdnsproxy/hosts.py (l:324):
+HIT_RE = re.compile(r'^2001:1[0-9a-f]:[0-9a-f:]*$')

After the "2001" there can be some zeroes before the "1".
-- 
https://code.launchpad.net/~ptman/hipl/methods-to-functions/+merge/102584
Your team HIPL core team is subscribed to branch lp:hipl.

Other related posts: