File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 725
725
<key >comment </key >
726
726
<string >Control flow keywords, prefixed by more than one dot </string >
727
727
<key >match </key >
728
- <string >(?< =\.\.)\b(else|catch|until|in)\b </string >
728
+ <string >(?< =\.\.)\b(else|catch|until|in(?!\s*\() )\b </string >
729
729
<key >name </key >
730
730
<string >keyword.control.tact </string >
731
731
</dict >
732
732
<dict >
733
733
<key >comment </key >
734
734
<string >Control flow keywords </string >
735
735
<key >match </key >
736
- <string >(?< !\.)\b(if|else|try|catch|repeat|do|until|while|foreach|in|return)\b </string >
736
+ <string >(?< !\.)\b(if|else|try|catch|repeat|do|until|while|foreach|in(?!\s*\() |return)\b </string >
737
737
<key >name </key >
738
738
<string >keyword.control.tact </string >
739
739
</dict >
871
871
</dict >
872
872
</dict >
873
873
</dict >
874
- </plist >
874
+ </plist >
Original file line number Diff line number Diff line change 475
475
},
476
476
{
477
477
"comment" : " Control flow keywords, prefixed by more than one dot" ,
478
- "match" : " (?<=\\ .\\ .)\\ b(else|catch|until|in)\\ b" ,
478
+ "match" : " (?<=\\ .\\ .)\\ b(else|catch|until|in(?! \\ s* \\ () )\\ b" ,
479
479
"name" : " keyword.control.tact"
480
480
},
481
481
{
482
482
"comment" : " Control flow keywords" ,
483
- "match" : " (?<!\\ .)\\ b(if|else|try|catch|repeat|do|until|while|foreach|in|return)\\ b" ,
483
+ "match" : " (?<!\\ .)\\ b(if|else|try|catch|repeat|do|until|while|foreach|in(?! \\ s* \\ () |return)\\ b" ,
484
484
"name" : " keyword.control.tact"
485
485
},
486
486
{
You can’t perform that action at this time.
0 commit comments