lib/ellen/action.rb in ellen-0.0.8 vs lib/ellen/action.rb in ellen-0.0.9
- old
+ new
@@ -27,10 +27,10 @@
def pattern_with(name)
if all?
/\A#{pattern}/
else
- /\A@?#{Regexp.escape(name)}\s*#{pattern}/
+ /\A@?#{Regexp.escape(name)}:?\s*#{pattern}/
end
end
end
end