mirror of
https://github.com/TECHNOFAB11/tmux-copyrat.git
synced 2025-12-12 08:00:08 +01:00
refactor: quoted-tick -> quoted-backtick
This commit is contained in:
parent
a5140322ff
commit
389e9617a9
5 changed files with 16 additions and 15 deletions
|
|
@ -584,7 +584,7 @@ mod tests {
|
|||
let named_pat = vec![
|
||||
parse_pattern_name("quoted-single").unwrap(),
|
||||
parse_pattern_name("quoted-double").unwrap(),
|
||||
parse_pattern_name("quoted-tick").unwrap(),
|
||||
parse_pattern_name("quoted-backtick").unwrap(),
|
||||
];
|
||||
|
||||
let custom = vec![];
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@ pub(super) const PATTERNS: [(&str, &str); 20] = [
|
|||
),
|
||||
("quoted-single", r#"'([^']+)'"#),
|
||||
("quoted-double", r#""([^"]+)""#),
|
||||
("quoted-tick", r#"`([^`]+)`"#),
|
||||
("quoted-backtick", r#"`([^`]+)`"#),
|
||||
("digits", r"([0-9]{4,})"),
|
||||
];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue