fixed regex string
This commit is contained in:
parent
0786c26260
commit
ebf1a7726e
@ -47,7 +47,7 @@ impl ServiceSwitcher {
|
|||||||
Self {
|
Self {
|
||||||
list,
|
list,
|
||||||
state: ListState::default(),
|
state: ListState::default(),
|
||||||
regex: Regex::new(r"( *image *): *(.*):([.*]??) *").unwrap(),
|
regex: Regex::new(r"( *image *): *([^:]*):?([^:]?) *").unwrap(),
|
||||||
changed: false,
|
changed: false,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user