aboutsummaryrefslogtreecommitdiff
path: root/app/src
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2021-08-02 09:17:46 +0000
committerAlex Ning <chineseperson5@gmail.com>2021-08-02 09:17:46 +0000
commitc84f8ed2a38ea4238c8ded4bebabdb5dc59157e5 (patch)
treea51a09cb71de715edc5ca0e3417115fbf4f3b986 /app/src
parent2a6afa87836b6385a23093200804ef1c9e55d3c3 (diff)
downloadinfinity-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.java2
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")