mirror of
https://github.com/Shopify/liquid.git
synced 2026-09-12 23:40:45 -07:00
Allow ! in identifiers like Ruby
This commit is contained in:
+1
-1
@@ -29,7 +29,7 @@ module Liquid
|
||||
'[' => :open_square,
|
||||
']' => :close_square
|
||||
}
|
||||
IDENTIFIER = /[\w\-?]+/
|
||||
IDENTIFIER = /[\w\-?!]+/
|
||||
SINGLE_STRING_LITERAL = /'[^\']*'/
|
||||
DOUBLE_STRING_LITERAL = /"[^\"]*"/
|
||||
INTEGER_LITERAL = /-?\d+/
|
||||
|
||||
Reference in New Issue
Block a user