Skip to content

Commit

Permalink
Allow whitespace between [] in function argument
Browse files Browse the repository at this point in the history
  • Loading branch information
Ingramz committed May 30, 2015
1 parent 0239f47 commit ab51cac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Syntaxes/PHP.plist
Expand Up @@ -665,7 +665,7 @@
\s*(&)? # Reference
\s*((\$+)[a-z_\x{7f}-\x{ff}][a-z0-9_\x{7f}-\x{ff}]*) # The variable name
(?:
\s*(?:(=)\s*(?:(null)|(\[)(\])|((?:\S*?\(\))|(?:\S*?)))) # A default value
\s*(?:(=)\s*(?:(null)|(\[)\s*(\])|((?:\S*?\(\))|(?:\S*?)))) # A default value
)?
\s*(?=,|\)|/[/*]|\#|$) # A closing parentheses (end of argument list) or a comma or a comment
</string>
Expand Down

0 comments on commit ab51cac

Please sign in to comment.