Last active
August 29, 2015 14:08
-
-
Save InvisibleKind/fef8afb4e55fe557f392 to your computer and use it in GitHub Desktop.
Regexp for replacing array() with [] in #YOUR_IDE_NAME#
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| search: array\(([^\(\)]++)\) | |
| replace with: [$1] |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
or http://stackoverflow.com/questions/23697248/phpstorm-replace-array-notation-to-short-syntax