diff options
author | Alex Ning <chineseperson5@gmail.com> | 2021-08-02 09:17:46 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2021-08-02 09:17:46 +0000 |
commit | c84f8ed2a38ea4238c8ded4bebabdb5dc59157e5 (patch) | |
tree | a51a09cb71de715edc5ca0e3417115fbf4f3b986 /app/src/main | |
parent | 2a6afa87836b6385a23093200804ef1c9e55d3c3 (diff) | |
download | infinity-for-reddit-c84f8ed2a38ea4238c8ded4bebabdb5dc59157e5.tar infinity-for-reddit-c84f8ed2a38ea4238c8ded4bebabdb5dc59157e5.tar.gz infinity-for-reddit-c84f8ed2a38ea4238c8ded4bebabdb5dc59157e5.tar.bz2 infinity-for-reddit-c84f8ed2a38ea4238c8ded4bebabdb5dc59157e5.tar.lz infinity-for-reddit-c84f8ed2a38ea4238c8ded4bebabdb5dc59157e5.tar.xz infinity-for-reddit-c84f8ed2a38ea4238c8ded4bebabdb5dc59157e5.tar.zst infinity-for-reddit-c84f8ed2a38ea4238c8ded4bebabdb5dc59157e5.zip |
Support wiki links in r/subreddit/w form.
Diffstat (limited to '')
-rw-r--r-- | app/src/main/java/ml/docilealligator/infinityforreddit/activities/LinkResolverActivity.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/activities/LinkResolverActivity.java b/app/src/main/java/ml/docilealligator/infinityforreddit/activities/LinkResolverActivity.java index 886f0d45..a6596edb 100644 --- a/app/src/main/java/ml/docilealligator/infinityforreddit/activities/LinkResolverActivity.java +++ b/app/src/main/java/ml/docilealligator/infinityforreddit/activities/LinkResolverActivity.java @@ -49,7 +49,7 @@ public class LinkResolverActivity extends AppCompatActivity { private static final String IMGUR_ALBUM_PATTERN = "/(album|a)/\\w+/?"; private static final String IMGUR_IMAGE_PATTERN = "/\\w+/?"; private static final String RPAN_BROADCAST_PATTERN = "/rpan/r/[\\w-]+/\\w+/?\\w+/?"; - private static final String WIKI_PATTERN = "/[rR]/[\\w-]+/wiki/?\\w+"; + private static final String WIKI_PATTERN = "/[rR]/[\\w-]+/(wiki|w)/?\\w+"; @Inject @Named("default") |