From cd3113118823f89194f0edf758aae0d9923436ea Mon Sep 17 00:00:00 2001 From: Christopher Speller Date: Fri, 6 Nov 2015 09:46:36 -0500 Subject: Fixing searching for quotations --- model/utils.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'model/utils.go') diff --git a/model/utils.go b/model/utils.go index 681ade870..75c982eec 100644 --- a/model/utils.go +++ b/model/utils.go @@ -242,8 +242,8 @@ func Etag(parts ...interface{}) string { } var validHashtag = regexp.MustCompile(`^(#[A-Za-z]+[A-Za-z0-9_\-]*[A-Za-z0-9])$`) -var puncStart = regexp.MustCompile(`^[.,()&$!\[\]{}"':;\\]+`) -var puncEnd = regexp.MustCompile(`[.,()&$#!\[\]{}"';\\]+$`) +var puncStart = regexp.MustCompile(`^[.,()&$!\[\]{}':;\\]+`) +var puncEnd = regexp.MustCompile(`[.,()&$#!\[\]{}';\\]+$`) func ParseHashtags(text string) (string, string) { words := strings.Fields(text) -- cgit v1.2.3-1-g7c22