更新时间:2022-11-26 14:21:19
IntelliJ使用 $ strong
用于替换反向引用。
IntelliJ uses $1
for replacement backreferences.
来自IntelliJ的帮助:
From IntelliJ's help:
有关正则表达式及其语法的更多信息,请参阅 java.util.regex 后引用应该是$ n,而不是\ n格式。
For more information on regular expressions and their syntax, refer to documentation for java.util.regex Back references should have $n, rather than \n format.