Created
January 14, 2018 18:55
-
-
Save gurunars/f3645a9289fd642242a1ce29d133a4d4 to your computer and use it in GitHub Desktop.
Regexp to replace all javaish docstrings that could be one-liners with one line docstrings e.g. via IntelliJ
This file contains 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
Regexp: | |
\/\*\*\n\s*\*(.{1,80})\n\s*\*\/ | |
With: | |
/**$1 */ | |
From: | |
/** | |
* Foobar | |
*/ | |
To: | |
/** Foobar */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment