提交 98a2f29f 编写于 作者: D Dmitriy Novozhilov

[CMI] Allow using right angle bracket symbol in MetaInfo message

上级 09df0734
......@@ -8,7 +8,7 @@ package org.jetbrains.kotlin.codeMetaInfo
import org.jetbrains.kotlin.codeMetaInfo.model.ParsedCodeMetaInfo
object CodeMetaInfoParser {
private val openingRegex = """(<!([^>]+?)!>)""".toRegex()
private val openingRegex = """(<!(.+?)!>)""".toRegex()
private val closingRegex = """(<!>)""".toRegex()
/*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册