lib/tr8n/tokens/data_token.rb in tr8n-3.1.1 vs lib/tr8n/tokens/data_token.rb in tr8n-3.1.2
- old
+ new
@@ -43,10 +43,10 @@
module Tr8n
module Tokens
class DataToken < Tr8n::Token
def self.expression
- /(\{[^_][\w]+(:[\w]+)?(::[\w]+)?\})/
+ /(\{[^_:][\w]*(:[\w]+)?(::[\w]+)?\})/
end
end
end
end