mirror of
https://github.com/nix-community/nix-on-droid-app.git
synced 2025-12-16 14:01:14 +01:00
Grab fragment when extracting URLs for selection
This commit is contained in:
parent
6e224cabcf
commit
366a61f052
1 changed files with 3 additions and 0 deletions
|
|
@ -733,6 +733,9 @@ public final class TermuxActivity extends Activity implements ServiceConnection
|
||||||
// Resource path with optional query string.
|
// Resource path with optional query string.
|
||||||
regex_sb.append("(?:/[a-zA-Z0-9:@%\\-._~!$&()*+,;=?/]*)?");
|
regex_sb.append("(?:/[a-zA-Z0-9:@%\\-._~!$&()*+,;=?/]*)?");
|
||||||
|
|
||||||
|
// Fragment.
|
||||||
|
regex_sb.append("(?:#[a-zA-Z0-9:@%\\-._~!$&()*+,;=?/]*)?");
|
||||||
|
|
||||||
// End second matching group.
|
// End second matching group.
|
||||||
regex_sb.append(")");
|
regex_sb.append(")");
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue