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:
parent
fb0f670986
commit
0b5f3c2516
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user