projects
/
idea
/
community.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[floating toolbar] IDEA-314026: enable for all users (was enabled for internal users...
[idea/community.git]
/
plugins
/
kotlin
/
j2k
/
new
/
tests
/
testData
/
newJ2k
/
literalExpression
/
dollarInsideString.kt
1
package demo
2
3
internal class Test {
4
fun test() {
5
var name = "$$$$"
6
name = name.replace("\\$[0-9]+".toRegex(), "\\$ \\\$a \${a} \\\${a}")
7
val c = '$'
8
println(c)
9
val C = '$'
10
println(C)
11
}
12
}