mirror of
https://github.com/fankes/termux-app.git
synced 2025-09-06 02:35:19 +08:00
Grab fragment when extracting URLs for selection
This commit is contained in:
committed by
Fredrik Fornwall
parent
6e224cabcf
commit
366a61f052
@@ -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(")");
|
||||
|
||||
|
Reference in New Issue
Block a user