mirror of
https://github.com/TECHNOFAB11/tmux-copyrat.git
synced 2025-12-12 16:10:07 +01:00
feat: sha regex allows uppercase
This commit is contained in:
parent
3b1feb4a0b
commit
aad092d536
1 changed files with 1 additions and 1 deletions
|
|
@ -32,7 +32,7 @@ pub(super) const PATTERNS: [(&str, &str); 20] = [
|
||||||
r"(v?\d{1,4}\.\d{1,4}(\.\d{1,4})?(-(alpha|beta|rc)(\.\d)?)?)[^.0-9s]",
|
r"(v?\d{1,4}\.\d{1,4}(\.\d{1,4})?(-(alpha|beta|rc)(\.\d)?)?)[^.0-9s]",
|
||||||
),
|
),
|
||||||
("ipfs", r"(Qm[0-9a-zA-Z]{44})"),
|
("ipfs", r"(Qm[0-9a-zA-Z]{44})"),
|
||||||
("sha", r"([0-9a-f]{7,40})"),
|
("sha", r"([0-9A-f]{7,40})"),
|
||||||
("ipv4", r"(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})"),
|
("ipv4", r"(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})"),
|
||||||
("ipv6", r"([A-f0-9:]+:+[A-f0-9:]+[%\w\d]+)"),
|
("ipv6", r"([A-f0-9:]+:+[A-f0-9:]+[%\w\d]+)"),
|
||||||
("pointer-address", r"(0x[0-9a-fA-F]+)"),
|
("pointer-address", r"(0x[0-9a-fA-F]+)"),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue