mirror of
https://github.com/RGBCube/superfreq
synced 2025-07-27 17:07:44 +00:00
system: trim prefixes properly when scanning labels
This commit is contained in:
parent
3e235c089b
commit
841ea830c6
1 changed files with 3 additions and 4 deletions
|
@ -130,11 +130,10 @@ impl System {
|
|||
.trim_start_matches("core")
|
||||
.trim_start_matches("Core")
|
||||
.trim_start()
|
||||
.trim_start_matches("tdie")
|
||||
.trim_start_matches("Tdie")
|
||||
.trim_start()
|
||||
.trim_start_matches("tctl")
|
||||
.trim_start_matches("Tctl")
|
||||
.trim_start_matches("Tdie")
|
||||
.trim_start_matches("Tccd")
|
||||
.trim_start_matches(['0', '1', '2', '3', '4', '5', '6', '7', '8', '9'])
|
||||
.trim_start()
|
||||
.trim_start_matches("-")
|
||||
.trim();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue