From ab515a8578ede823a613482d0035cf784ea2158e Mon Sep 17 00:00:00 2001 From: Homa Wong Date: Sat, 5 Dec 2015 23:39:10 -0800 Subject: [PATCH] Support `a.b` as attribute name Fix https://github.com/TypeStrong/atom-typescript/issues/767 --- grammars/tsx.cson | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grammars/tsx.cson b/grammars/tsx.cson index a52955725..2a10dbc62 100644 --- a/grammars/tsx.cson +++ b/grammars/tsx.cson @@ -902,7 +902,7 @@ repository: match: ''' (?x) \\s* - ([_$a-zA-Z][-$\\w]*) + ([_$a-zA-Z][-$\\w\\.]*) (?=\\s|=|/?>|/\\*|//) ''' captures: