1
0
mirror of https://github.com/mamoe/mirai.git synced 2025-04-25 21:23:55 +08:00

Make mirai-console-compiler-annotations multiplatform

This commit is contained in:
Him188 2022-05-24 00:05:40 +01:00
parent fb0f670986
commit 0b5f3c2516
No known key found for this signature in database
GPG Key ID: BA439CDDCF652375

View File

@ -9,13 +9,13 @@
package net.mamoe.mirai.console.compiler.common
import org.intellij.lang.annotations.Language
import kotlin.jvm.JvmField
/**
* @suppress 这是内部 API. 可能在任意时刻变动
*/
public object CheckerConstants {
@Language("RegExp")
// @Language("RegExp")
public const val PLUGIN_ID_PATTERN: String = """([a-zA-Z]\w*(?:\.[a-zA-Z]\w*)*)\.([a-zA-Z]\w*(?:-\w+)*)"""
@JvmField