Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试编写一些正则表达式,以便在函数打开括号后强制换行。目前我的正则表达式是\{[^\n\{\}]*\n\n,但它返回相反的东西和想法?
\{[^\n\{\}]*\n\n