Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Petra Mirelli
UntrackMe
Commits
ef988a3d
Commit
ef988a3d
authored
Jan 11, 2022
by
ms8661
Browse files
Handle mobile wikipedia URLs (subdomain='m')
parent
59a0a82a
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/src/main/java/app/fedilab/nitterizeme/helpers/Utils.java
View file @
ef988a3d
...
...
@@ -113,7 +113,7 @@ public class Utils {
public
static
final
Pattern
scriberipSubdomainPattern
=
Pattern
.
compile
(
"([\\w_-]+)\\.medium.com/(((?!([\"'<])).)*)"
);
public
static
final
Pattern
wikilessPattern
=
Pattern
.
compile
(
"([\\w_-]+)\\.wikipedia.org/(((?!([\"'<])).)*)"
);
public
static
final
Pattern
wikilessPattern
=
Pattern
.
compile
(
"([\\w_-]+)\\.
(?:m\\.)?
wikipedia.org/(((?!([\"'<])).)*)"
);
public
static
final
Pattern
bibliogramAccountPattern
=
Pattern
.
compile
(
"(m\\.|www\\.)?instagram.com(((?!/p/).)+)"
);
public
static
final
Pattern
maps
=
Pattern
.
compile
(
"/maps/place/([^@]+@)?([\\d.,z]+).*"
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment