92 lines
2.4 KiB
Smali
92 lines
2.4 KiB
Smali
.class public final Lf/a/j/b/a;
|
|
.super Ljava/lang/Object;
|
|
.source "MarkdownRules.kt"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Lf/a/j/b/a$c;,
|
|
Lf/a/j/b/a$b;,
|
|
Lf/a/j/b/a$a;
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field public static final a:Ljava/util/regex/Pattern;
|
|
|
|
.field public static final b:Ljava/util/regex/Pattern;
|
|
|
|
.field public static final c:Ljava/util/regex/Pattern;
|
|
|
|
.field public static final d:Ljava/util/regex/Pattern;
|
|
|
|
.field public static final e:Lf/a/j/b/a;
|
|
|
|
|
|
# direct methods
|
|
.method public static constructor <clinit>()V
|
|
.locals 3
|
|
|
|
new-instance v0, Lf/a/j/b/a;
|
|
|
|
invoke-direct {v0}, Lf/a/j/b/a;-><init>()V
|
|
|
|
sput-object v0, Lf/a/j/b/a;->e:Lf/a/j/b/a;
|
|
|
|
const-string v0, "^\\*[ \\t](.*)(?=\\n|$)"
|
|
|
|
const/4 v1, 0x0
|
|
|
|
invoke-static {v0, v1}, Ljava/util/regex/Pattern;->compile(Ljava/lang/String;I)Ljava/util/regex/Pattern;
|
|
|
|
move-result-object v0
|
|
|
|
const-string v2, "java.util.regex.Pattern.compile(this, flags)"
|
|
|
|
invoke-static {v0, v2}, Lj0/n/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
sput-object v0, Lf/a/j/b/a;->a:Ljava/util/regex/Pattern;
|
|
|
|
const-string v0, "^\\s*(#+)[ \\t](.*) *(?=\\n|$)"
|
|
|
|
invoke-static {v0, v1}, Ljava/util/regex/Pattern;->compile(Ljava/lang/String;I)Ljava/util/regex/Pattern;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-static {v0, v2}, Lj0/n/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
sput-object v0, Lf/a/j/b/a;->b:Ljava/util/regex/Pattern;
|
|
|
|
const-string v0, "^\\s*(.+)\\n *(=|-){3,} *(?=\\n|$)"
|
|
|
|
invoke-static {v0, v1}, Ljava/util/regex/Pattern;->compile(Ljava/lang/String;I)Ljava/util/regex/Pattern;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-static {v0, v2}, Lj0/n/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
sput-object v0, Lf/a/j/b/a;->c:Ljava/util/regex/Pattern;
|
|
|
|
new-instance v0, Lkotlin/text/Regex;
|
|
|
|
const-string v1, "^\\s*(?:(?:(.+)(?: +\\{([\\w ]*)\\}))|(.*))[ \\t]*\\n *([=\\-]){3,}[ \\t]*(?=\\n|$)"
|
|
|
|
invoke-direct {v0, v1}, Lkotlin/text/Regex;-><init>(Ljava/lang/String;)V
|
|
|
|
iget-object v0, v0, Lkotlin/text/Regex;->nativePattern:Ljava/util/regex/Pattern;
|
|
|
|
sput-object v0, Lf/a/j/b/a;->d:Ljava/util/regex/Pattern;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>()V
|
|
.locals 0
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|