We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a72d5a9 + c1fb489 commit 5f52835Copy full SHA for 5f52835
src/main/java/com/andrewbrookins/idea/wrap/CodeWrapper.kt
@@ -10,7 +10,7 @@ import java.util.regex.Pattern
10
* This code was inspired by Nir Soffer's codewrap library: * https://pypi.python.org/pypi/codewrap/
11
*/
12
class CodeWrapper(
13
- private val commentRegex: Regex = "(/\\*+|\\*/|\\*|\\.|#+|//+|;+)?".toRegex(),
+ private val commentRegex: Regex = "(/\\*+|\\*/|\\*|\\.|#+|//+|;+|--)?".toRegex(),
14
15
private val newlineRegex: Regex = "(\\r?\\n)".toRegex(),
16
0 commit comments