You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Queries of the type [Hh]ashTable fail to yield results, where hashTable and
HashTable each gets results.
It seems like a line is clearly missing in read.go in method:
func (r *postReader) init(ix, trigram, restrict)
so that the restrict parameter is ignored.
The attached patch adds a test that shows the bug and fixes the problem.
Original issue reported on code.google.com by ugodi...@gmail.com on 15 Apr 2012 at 3:59
The [Hh]ashtable problem is actually an issue with the regex engine, reported
and fixed as issue #8. The "restrict isn't initialized" bug is issue #16, also
with a patch.
I should poke Russ Cox to release a new version of codesearch, as there are a
number of patches sitting un-merged on the bug tracker.
Original comment by dgryski on 16 Apr 2012 at 8:53
Original issue reported on code.google.com by
ugodi...@gmail.com
on 15 Apr 2012 at 3:59Attachments:
The text was updated successfully, but these errors were encountered: