lib/opulent/tokens.rb in opulent-1.5.1 vs lib/opulent/tokens.rb in opulent-1.5.2
- old
+ new
@@ -23,11 +23,11 @@
leading_whitespace: /\A(\<\-)/,
leading_trailing_whitespace: /\A(\>)/,
trailing_whitespace: /\A(\-\>)/,
# Self enclosing node
- self_enclosing: %r{\A\/(.*)},
+ self_enclosing: /\A\/(.*)/,
# Definition
def: /\Adef +/,
# Definition
@@ -48,10 +48,10 @@
# Node inline child
inline_child: /\A *\> */,
# Comments
- comment: %r{\A\/},
+ comment: /\A\//,
# Intepreted filters
filter: /\A\:[a-zA-Z]([\-\_]?[a-zA-Z0-9]+)*/,
# Print nodes