fixed regex string
This commit is contained in:
parent
0786c26260
commit
ebf1a7726e
@ -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,
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user