Skip to content

Commit

Permalink
Merge pull request #27 from SyrupThinker/allow-more-tags
Browse files Browse the repository at this point in the history
Be less restrictive during tag parsing - Closes #26
  • Loading branch information
softmoth authored Feb 10, 2019
2 parents 5ad705e + 133bb2c commit 4f09e0a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/Template/Mustache.pm
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ class Template::Mustache {
$<tag>.made<type> ~~ none(<var qvar mmmvar>)
}>\h* [\n|$] }

token ident { <+ graph - punct> <+ graph - [\<\>\{\}\[\]&=%]>* }
token name { [<ident> * % '.' | ('.')] }
proto regex tag { <...> }
regex tag:sym<comment> { $*LEFT '!' (.*?) $*RIGHT }
Expand Down

0 comments on commit 4f09e0a

Please sign in to comment.