projects
/
idea
/
community.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[kotlin j2k] Fix conversion of escaped dollar sign in string literals
[idea/community.git]
/
plugins
/
kotlin
/
j2k
/
new
/
tests
/
testData
/
newJ2k
/
literalExpression
/
dollarInsideString.java
1
//file
2
package demo;
3
4
class Test {
5
void test() {
6
String name = "$$$$";
7
name = name.replaceAll("\\$[0-9]+", "\\$ \\$a ${a} \\${a}")
8
9
char c = '$';
10
System.out.println(c);
11
12
Character C = '$';
13
System.out.println(C);
14
}
15
}