8577d3ca55
Preserve white spaces inside code blocks Introduce WhiteSpaceSeparatedElementList which keeps track of whitespaces Introduce StatementList Change old test data accordingly
14 lines
232 B
Kotlin
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)
|
|
}
|
|
} |