<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
It's pretty impressive. Coupla comments:<br><br>- it fails on "A*" (as in A* search algorithm) or "A\*". It would be awesome if you could handle that. In fact, you might like to post whatever regex syntax it takes. It seems that '*' matches '.', so if you type 'a*n' you get a bunch of near-random results.<br><br>- it fails on '@' (the decorator symbol)<br><br>- there's no 'summary'/'long' mode to just see the matches (without details) for searches which return a ton of results e.g. 'numpy.*e'<br><br>- I don't see anywhere for people to submit their URLs to you for indexing<br><br>Best,<br>Stephen<br><br><hr id="stopSpelling">Date: Mon, 11 Jan 2010 16:05:57 -0800<br>From: puruiw@yahoo.com<br>To: glen@glenjarvis.com<br>CC: baypiggies@python.org<br>Subject: Re: [Baypiggies] My search engine for Python source code<br><br>

<style>
.ExternalClass DIV
{;}
</style><div style="font-family: 'times new roman','new york',times,serif; font-size: 12pt;"><div>The idea for this project is to find samples that google can't.&nbsp;I started this project after I spent a few days on looking for wxpython samples that no tutorial covers. I knew some other people must have done the thing I want. But I just couldn't find it.</div><div>Google code search use string match for code, which does not work well for OO languages. 'os.path.join' is a special case that string matching works. For many other cases, like '@'.join(...), or</div><div>f = wx.Frame(...)</div><div>f.SetFont(...)</div><div>The string matching way will fail, and google can't&nbsp;recognize&nbsp;this is a sample for wx.Frame.SetFont.</div><div>I wish my site can solve this problem.</div><div><br></div><div>- Purui</div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><font face="Tahoma" size="2"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> Glen Jarvis &lt;glen@glenjarvis.com&gt;<br><b><span style="font-weight: bold;">To:</span></b> Purui Wang &lt;puruiw@yahoo.com&gt;<br><b><span style="font-weight: bold;">Cc:</span></b> baypiggies@python.org<br><b><span style="font-weight: bold;">Sent:</span></b> Mon, January 11, 2010 2:37:45 PM<br><b><span style="font-weight: bold;">Subject:</span></b> Re: [Baypiggies] My search engine for Python source code<br></font><br>
I just looked at this. I really like the idea that you do code suggestion. For example, just to test, I typed: os.path.... and at this point, I saw quite a few solutions to choose from.<div><br></div><div>The actual results, seem big on the page, however, compared to Google's code search (I compared&nbsp;os.path.abspath on both):</div>
<div><br></div><div><span><a href="http://www.google.com/codesearch">http://www.google.com/codesearch</a></span></div><div><br></div><div>I've not really used either of these tools much (as I should) since I usually just google the phrase I'm looking for generally and get to the documentation. There are times I just want quick examples, so this can be very helpful.</div>
<div><br></div><div>Either way, thank you for sharing your work.. And, again, the 'suggest' that I get is a very nice touch if I don't remember exactly what I'm looking for..</div><div><br></div><div>Cheers,</div>
<div><br></div><div><br></div><div>Glen</div><div><br></div><div><br><div class="ecxgmail_quote">On Thu, Jan 7, 2010 at 8:56 PM, Purui Wang <span dir="ltr">&lt;<a rel="nofollow" href="mailto:puruiw@yahoo.com">puruiw@yahoo.com</a>&gt;</span> wrote:<br>
<blockquote class="ecxgmail_quote" style="border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><div>I wrote a search engine for python source code. It helps you find samples from open source projects. It understands python syntax, and can find samples that other engines can't find.<br>
Please take a look and send me a feed back.<br><span><span><a href="http://nullege.com">http://nullege.com</a></span></span><br><br>- Purui</div></div></div></blockquote></div></div>
</div></div><div style=""></div>



</div>                                               <br /><hr />Hotmail: Powerful Free email with security by Microsoft. <a href='http://clk.atdmt.com/GBL/go/196390710/direct/01/' target='_new'>Get it now.</a></body>
</html>