| VariableAttributeSeparator |
= |
'.' |
| QuotedFragment |
= |
/#{QuotedString}|(?:[^\s,\|'"]|#{QuotedString})+/ |
| StrictQuotedFragment |
= |
/"[^"]+"|'[^']+'|[^\s,\|,\:,\,]+/ |
| FirstFilterArgument |
= |
/#{FilterArgumentSeparator}(?:#{StrictQuotedFragment})/ |
| OtherFilterArgument |
= |
/#{ArgumentSeparator}(?:#{StrictQuotedFragment})/ |
| SpacelessFilter |
= |
/^(?:'[^']+'|"[^"]+"|[^'"])*#{FilterSeparator}(?:#{StrictQuotedFragment})(?:#{FirstFilterArgument}(?:#{OtherFilterArgument})*)?/ |
| Expression |
= |
/(?:#{QuotedFragment}(?:#{SpacelessFilter})*)/ |
| TagAttributes |
= |
/(\w+)\s*\:\s*(#{QuotedFragment})/ |
| PartialTemplateParser |
= |
/#{TagStart}.*?#{TagEnd}|#{VariableStart}.*?#{VariableIncompleteEnd}/ |
| TemplateParser |
= |
/(#{PartialTemplateParser}|#{AnyStartingTag})/ |
| VariableParser |
= |
/\[[^\]]+\]|#{VariableSegment}+\??/ |
| LiteralShorthand |
= |
/^(?:\{\{\{\s?)(.*?)(?:\s*\}\}\})$/ |