gpt4 book ai didi

intellij-idea - 在 IntelliJ 的代码编辑器中搜索不可打印的字符(回车、制表符等)?

转载 作者:行者123 更新时间:2023-12-04 06:16:18 25 4
gpt4 key购买 nike

在 IntelliJ 2018 的代码编辑器中,使用任一菜单项:

  • Edit > Find > Find…
  • Edit > Find > Replace…

  • enter image description here

    ...如何找到不可见(非打印)字符?

    我指的是字符,例如:
  • 回车
  • 换行
  • INFORMATION SEPARATOR ONE
  • 最佳答案

    启用“正则表达式”复选框,you can use the full regex syntax .我可以用 \u0020 搜索空间对于 LF 和 \x0a .

  • 回车和换行符匹配 \r\n分别。
  • 任意 Unicode 字符语法:\uFFFF ,其中 FFFF 是十六进制 Unicode 字符代码。
  • 任意 ASCII 字符语法:\xFF ,其中 FF 是 ASCII 十六进制代码。
  • 关于intellij-idea - 在 IntelliJ 的代码编辑器中搜索不可打印的字符(回车、制表符等)?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51312737/

    25 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com