Skip to content

Commit 721d324

Browse files
committed
Merge pull request #770 from unional/tsx-attribute-dot
Support `a.b` as attribute name
2 parents ec41387 + ab515a8 commit 721d324

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

grammars/tsx.cson

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -902,7 +902,7 @@ repository:
902902
match: '''
903903
(?x)
904904
\\s*
905-
([_$a-zA-Z][-$\\w]*)
905+
([_$a-zA-Z][-$\\w\\.]*)
906906
(?=\\s|=|/?>|/\\*|//)
907907
'''
908908
captures:

0 commit comments

Comments
 (0)