lib/dev/ui/formatter.rb in dev-ui-0.1.1 vs lib/dev/ui/formatter.rb in dev-ui-0.1.2
- old
+ new
@@ -35,17 +35,17 @@
BEGIN_EXPR = '{{'
END_EXPR = '}}'
SCAN_FUNCNAME = /\w+:/
SCAN_GLYPH = /.}}/
- SCAN_BODY = %r{
+ SCAN_BODY = /
.*?
(
#{BEGIN_EXPR} |
#{END_EXPR} |
\z
)
- }mx
+ /mx
DISCARD_BRACES = 0..-3
LITERAL_BRACES = :__literal_braces__