2019-02-04 20:08:30 +00:00
|
|
|
.class final Lkotlin/text/i;
|
|
|
|
.super Ljava/lang/Object;
|
2019-02-04 20:29:01 +00:00
|
|
|
.source "Regex.kt"
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
# interfaces
|
|
|
|
.implements Lkotlin/text/MatchResult;
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
2019-05-03 18:53:54 +00:00
|
|
|
.field private final bgI:Ljava/lang/CharSequence;
|
2019-04-03 00:06:05 +00:00
|
|
|
|
2019-05-03 18:53:54 +00:00
|
|
|
.field private final bgP:Lkotlin/text/g;
|
2019-05-01 06:16:59 +00:00
|
|
|
|
2019-05-03 18:53:54 +00:00
|
|
|
.field private bgQ:Ljava/util/List;
|
2019-02-04 20:08:30 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"Ljava/util/List<",
|
|
|
|
"Ljava/lang/String;",
|
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
|
|
|
.field private final matcher:Ljava/util/regex/Matcher;
|
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method public constructor <init>(Ljava/util/regex/Matcher;Ljava/lang/CharSequence;)V
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
const-string v0, "matcher"
|
|
|
|
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/j;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
|
|
|
|
const-string v0, "input"
|
|
|
|
|
|
|
|
invoke-static {p2, v0}, Lkotlin/jvm/internal/j;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
|
|
|
|
iput-object p1, p0, Lkotlin/text/i;->matcher:Ljava/util/regex/Matcher;
|
|
|
|
|
2019-05-03 18:53:54 +00:00
|
|
|
iput-object p2, p0, Lkotlin/text/i;->bgI:Ljava/lang/CharSequence;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
new-instance p1, Lkotlin/text/i$b;
|
|
|
|
|
|
|
|
invoke-direct {p1, p0}, Lkotlin/text/i$b;-><init>(Lkotlin/text/i;)V
|
|
|
|
|
|
|
|
check-cast p1, Lkotlin/text/g;
|
|
|
|
|
2019-05-03 18:53:54 +00:00
|
|
|
iput-object p1, p0, Lkotlin/text/i;->bgP:Lkotlin/text/g;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public static final synthetic a(Lkotlin/text/i;)Ljava/util/regex/MatchResult;
|
|
|
|
.locals 0
|
|
|
|
|
2019-02-17 02:24:41 +00:00
|
|
|
iget-object p0, p0, Lkotlin/text/i;->matcher:Ljava/util/regex/Matcher;
|
|
|
|
|
|
|
|
check-cast p0, Ljava/util/regex/MatchResult;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
return-object p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
2019-02-04 20:32:01 +00:00
|
|
|
.method public final getRange()Lkotlin/ranges/IntRange;
|
|
|
|
.locals 2
|
|
|
|
|
2019-02-17 02:24:41 +00:00
|
|
|
iget-object v0, p0, Lkotlin/text/i;->matcher:Ljava/util/regex/Matcher;
|
2019-02-04 20:32:01 +00:00
|
|
|
|
2019-02-17 02:24:41 +00:00
|
|
|
check-cast v0, Ljava/util/regex/MatchResult;
|
2019-02-04 20:32:01 +00:00
|
|
|
|
|
|
|
invoke-interface {v0}, Ljava/util/regex/MatchResult;->start()I
|
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
invoke-interface {v0}, Ljava/util/regex/MatchResult;->end()I
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
2019-05-03 18:53:54 +00:00
|
|
|
invoke-static {v1, v0}, Lkotlin/ranges/b;->aa(II)Lkotlin/ranges/IntRange;
|
2019-02-04 20:32:01 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final getValue()Ljava/lang/String;
|
|
|
|
.locals 2
|
|
|
|
|
2019-02-17 02:24:41 +00:00
|
|
|
iget-object v0, p0, Lkotlin/text/i;->matcher:Ljava/util/regex/Matcher;
|
|
|
|
|
|
|
|
check-cast v0, Ljava/util/regex/MatchResult;
|
2019-02-04 20:32:01 +00:00
|
|
|
|
|
|
|
invoke-interface {v0}, Ljava/util/regex/MatchResult;->group()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
const-string v1, "matchResult.group()"
|
|
|
|
|
|
|
|
invoke-static {v0, v1}, Lkotlin/jvm/internal/j;->g(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
2019-05-03 18:53:54 +00:00
|
|
|
.method public final zQ()Ljava/util/List;
|
2019-02-04 20:08:30 +00:00
|
|
|
.locals 1
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"()",
|
|
|
|
"Ljava/util/List<",
|
|
|
|
"Ljava/lang/String;",
|
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
2019-05-03 18:53:54 +00:00
|
|
|
iget-object v0, p0, Lkotlin/text/i;->bgQ:Ljava/util/List;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
|
|
|
|
new-instance v0, Lkotlin/text/i$a;
|
|
|
|
|
|
|
|
invoke-direct {v0, p0}, Lkotlin/text/i$a;-><init>(Lkotlin/text/i;)V
|
|
|
|
|
|
|
|
check-cast v0, Ljava/util/List;
|
|
|
|
|
2019-05-03 18:53:54 +00:00
|
|
|
iput-object v0, p0, Lkotlin/text/i;->bgQ:Ljava/util/List;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
:cond_0
|
2019-05-03 18:53:54 +00:00
|
|
|
iget-object v0, p0, Lkotlin/text/i;->bgQ:Ljava/util/List;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
|
2019-05-03 18:53:54 +00:00
|
|
|
invoke-static {}, Lkotlin/jvm/internal/j;->zH()V
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
:cond_1
|
|
|
|
return-object v0
|
|
|
|
.end method
|
|
|
|
|
2019-05-03 18:53:54 +00:00
|
|
|
.method public final zR()Lkotlin/text/MatchResult;
|
2019-02-04 20:08:30 +00:00
|
|
|
.locals 3
|
|
|
|
|
2019-02-17 02:24:41 +00:00
|
|
|
iget-object v0, p0, Lkotlin/text/i;->matcher:Ljava/util/regex/Matcher;
|
|
|
|
|
|
|
|
check-cast v0, Ljava/util/regex/MatchResult;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-interface {v0}, Ljava/util/regex/MatchResult;->end()I
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
2019-02-17 02:24:41 +00:00
|
|
|
iget-object v1, p0, Lkotlin/text/i;->matcher:Ljava/util/regex/Matcher;
|
|
|
|
|
|
|
|
check-cast v1, Ljava/util/regex/MatchResult;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-interface {v1}, Ljava/util/regex/MatchResult;->end()I
|
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
2019-02-17 02:24:41 +00:00
|
|
|
iget-object v2, p0, Lkotlin/text/i;->matcher:Ljava/util/regex/Matcher;
|
|
|
|
|
|
|
|
check-cast v2, Ljava/util/regex/MatchResult;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-interface {v2}, Ljava/util/regex/MatchResult;->start()I
|
|
|
|
|
|
|
|
move-result v2
|
|
|
|
|
|
|
|
if-ne v1, v2, :cond_0
|
|
|
|
|
|
|
|
const/4 v1, 0x1
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
add-int/2addr v0, v1
|
|
|
|
|
2019-05-03 18:53:54 +00:00
|
|
|
iget-object v1, p0, Lkotlin/text/i;->bgI:Ljava/lang/CharSequence;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-interface {v1}, Ljava/lang/CharSequence;->length()I
|
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
if-gt v0, v1, :cond_1
|
|
|
|
|
|
|
|
iget-object v1, p0, Lkotlin/text/i;->matcher:Ljava/util/regex/Matcher;
|
|
|
|
|
2019-02-17 02:24:41 +00:00
|
|
|
invoke-virtual {v1}, Ljava/util/regex/Matcher;->pattern()Ljava/util/regex/Pattern;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
2019-05-03 18:53:54 +00:00
|
|
|
iget-object v2, p0, Lkotlin/text/i;->bgI:Ljava/lang/CharSequence;
|
2019-02-17 02:24:41 +00:00
|
|
|
|
|
|
|
invoke-virtual {v1, v2}, Ljava/util/regex/Pattern;->matcher(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
const-string v2, "matcher.pattern().matcher(input)"
|
|
|
|
|
|
|
|
invoke-static {v1, v2}, Lkotlin/jvm/internal/j;->g(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
|
2019-05-03 18:53:54 +00:00
|
|
|
iget-object v2, p0, Lkotlin/text/i;->bgI:Ljava/lang/CharSequence;
|
2019-02-04 20:08:30 +00:00
|
|
|
|
|
|
|
invoke-static {v1, v0, v2}, Lkotlin/text/j;->a(Ljava/util/regex/Matcher;ILjava/lang/CharSequence;)Lkotlin/text/MatchResult;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
.end method
|