Files
kotlin-fork/j2k/tests/testData/ast/literalExpression/dollarInsideString.ide.kt
T
Pavel Talanov 8577d3ca55 Converter:
Preserve white spaces inside code blocks
Introduce WhiteSpaceSeparatedElementList which keeps track of whitespaces
Introduce StatementList
Change old test data accordingly
2013-12-22 16:49:43 +04:00

14 lines
232 B
Kotlin

package demo
class Test() {
fun test() {
val name = "$$$$"
name = name.replaceAll("\\$[0-9]+", "\\$")
val c = '$'
System.out.println(c)
val C = '$'
System.out.println(C)
}
}