mirror of
https://github.com/FliegendeWurst/tmux-thumbs.git
synced 2024-11-08 15:30:37 +00:00
Merge branch 'master' into fix-regexp
This commit is contained in:
commit
9b677a67c6
@ -35,7 +35,7 @@ more with `--regexp` parameter.
|
||||
|
||||
## Prerequisites
|
||||
|
||||
`tmux-thums` is written in Rust. You will need `rustc` version 1.35.0 or higher. The
|
||||
`tmux-thumbs` is written in Rust. You will need `rustc` version 1.35.0 or higher. The
|
||||
recommended way to install Rust is from the official [download page](https://rustup.rs/).
|
||||
|
||||
## Tmux integration
|
||||
|
@ -136,7 +136,7 @@ impl<'a> Swapper<'a> {
|
||||
let options = self.executor.execute(params);
|
||||
let lines: Vec<&str> = options.split('\n').collect();
|
||||
|
||||
let pattern = Regex::new(r#"@thumbs-([\w\-0-9]+)\s+"?([^"]+)"?$"#).unwrap();
|
||||
let pattern = Regex::new(r#"^@thumbs-([\w\-0-9]+)\s+"?([^"]+)"?$"#).unwrap();
|
||||
|
||||
let args = lines
|
||||
.iter()
|
||||
|
Loading…
Reference in New Issue
Block a user