search: remove expr TODO

Change-Id: Iea7826f2924ad229585a1ec3921fceb6130e8207
This commit is contained in:
Brad Fitzpatrick 2014-03-08 21:11:02 -08:00
parent 4d33d6ced3
commit bf6d91545c
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ import (
var (
tagExpr = regexp.MustCompile(`^tag:(.+)$`)
titleExpr = regexp.MustCompile(`^title:(.+)$`) // TODO: proper expr parser supporting quoting
titleExpr = regexp.MustCompile(`^title:(.+)$`)
attrExpr = regexp.MustCompile(`^attr:(\w+):(.+)$`)
// used for width/height ranges. 10 is max length of 32-bit