fixed regex string

This commit is contained in:
Thomas Eppers 2021-09-09 15:23:55 +02:00
parent 0786c26260
commit ebf1a7726e

View File

@ -47,7 +47,7 @@ impl ServiceSwitcher {
Self {
list,
state: ListState::default(),
regex: Regex::new(r"( *image *): *(.*):([.*]??) *").unwrap(),
regex: Regex::new(r"( *image *): *([^:]*):?([^:]?) *").unwrap(),
changed: false,
}
}