Skip to content

Commit

Permalink
Changed to non-capturing group
Browse files Browse the repository at this point in the history
  • Loading branch information
frozzare committed May 14, 2015
1 parent 2fe1869 commit 54fcb2e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions grammars/php.cson
Original file line number Diff line number Diff line change
Expand Up @@ -756,9 +756,9 @@
]
}
{
'begin': '(?i)(^\\s*|\\s)(namespace)\\b\\s+(?=([a-z0-9_\\\\]+\\s*($|[;{]|(\\/[\\/*])))|$)'
'begin': '(?i)(?:^\\s*|\\s)(namespace)\\b\\s+(?=([a-z0-9_\\\\]+\\s*($|[;{]|(\\/[\\/*])))|$)'
'beginCaptures':
'2':
'1':
'name': 'keyword.other.namespace.php'
'contentName': 'entity.name.type.namespace.php'
'end': '(?i)(?=\\s*$|[^a-z0-9_\\\\])'
Expand Down

0 comments on commit 54fcb2e

Please sign in to comment.