Skip to content

Commit d8618dd

Browse files
committed
update tmux completion
1 parent febb9b5 commit d8618dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tmux.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ fn capture_tmux_pane(pane_id: &str) -> Result<String, ()> {
4646
}
4747

4848
fn capture_alphanumeric_sequences(input: &str) -> Vec<String> {
49-
let re = Regex::new(r"[a-zA-Z0-9][a-zA-Z0-9_\-\.]*").unwrap();
49+
let re = Regex::new(r"[a-zA-Z0-9]+").unwrap();
5050

5151
re.find_iter(input)
5252
.map(|mat| mat.as_str().to_string())

0 commit comments

Comments
 (0)