|
|
@ -5,7 +5,7 @@ import java.util.regex.Pattern |
|
|
|
@Suppress("RegExpRedundantEscape") |
|
|
|
@Suppress("RegExpRedundantEscape") |
|
|
|
object AppPattern { |
|
|
|
object AppPattern { |
|
|
|
val JS_PATTERN: Pattern = |
|
|
|
val JS_PATTERN: Pattern = |
|
|
|
Pattern.compile("<js>([\\w\\W]+?)</js>|@js:([\\w\\W]*)", Pattern.CASE_INSENSITIVE) |
|
|
|
Pattern.compile("<js>([\\w\\W]*?)</js>|@js:([\\w\\W]*)", Pattern.CASE_INSENSITIVE) |
|
|
|
val EXP_PATTERN: Pattern = Pattern.compile("\\{\\{([\\w\\W]*?)\\}\\}") |
|
|
|
val EXP_PATTERN: Pattern = Pattern.compile("\\{\\{([\\w\\W]*?)\\}\\}") |
|
|
|
|
|
|
|
|
|
|
|
//匹配格式化后的图片格式 |
|
|
|
//匹配格式化后的图片格式 |
|
|
|