lib/lookbook/services/data/resolvers/method_resolver.rb in lookbook-1.3.4 vs lib/lookbook/services/data/resolvers/method_resolver.rb in lookbook-1.4.0
- old
+ new
@@ -1,7 +1,7 @@
module Lookbook
class MethodResolver < DataResolver
- MATCHER = /(:([a-zA-Z_\d]+))$/
+ MATCHER = /(:{1}([a-zA-Z_\d]+))$/
MATCH_INDEX = 2
def resolve(input)
evaluate(input)
end