Grab fragment when extracting URLs for selection

This commit is contained in:
Daniel Lublin
2020-03-12 17:29:51 +01:00
committed by Fredrik Fornwall
parent 6e224cabcf
commit 366a61f052

View File

@@ -733,6 +733,9 @@ public final class TermuxActivity extends Activity implements ServiceConnection
// Resource path with optional query string.
regex_sb.append("(?:/[a-zA-Z0-9:@%\\-._~!$&()*+,;=?/]*)?");
// Fragment.
regex_sb.append("(?:#[a-zA-Z0-9:@%\\-._~!$&()*+,;=?/]*)?");
// End second matching group.
regex_sb.append(")");