这是indexloc提供的服务,不要输入任何密码
Skip to content

Commit cac9a76

Browse files
Merge pull request #2217 from the-blank-x/supportgemini
Add gemini to the list of url regex protocols
2 parents 1578ab5 + e30812a commit cac9a76

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

termux-shared/src/main/java/com/termux/shared/data/UrlUtils.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ public static Pattern getUrlMatchRegex() {
2222
regex_sb.append("finger|"); // The Finger proto.
2323
regex_sb.append("ftp(?:s?)|"); // The FTP proto.
2424
regex_sb.append("git|"); // The Git proto.
25+
regex_sb.append("gemini|"); // The Gemini proto.
2526
regex_sb.append("gopher|"); // The Gopher proto.
2627
regex_sb.append("http(?:s?)|"); // The HTTP proto.
2728
regex_sb.append("imap(?:s?)|"); // The IMAP proto.

0 commit comments

Comments
 (0)