We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 61d3e36 commit c1fb489Copy full SHA for c1fb489
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