浏览代码

Tweak search separator characters

Thibaut 12 年之前
父节点
当前提交
dd2229eda0
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      assets/javascripts/models/entry.coffee

+ 1 - 1
assets/javascripts/models/entry.coffee

@@ -1,7 +1,7 @@
 class app.models.Entry extends app.Model
   # Attributes: name, type, path
 
-  SEPARATORS_REGEXP = /\ |#|::/g
+  SEPARATORS_REGEXP = /\:?\ |#|::/g
   PARANTHESES_REGEXP = /\(.*?\)$/
 
   constructor: ->