You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This regex ^\s*([0-9]+)\s(\S+)\s+([-P][-O][-S][-R][-C][-K])\s+([0-9]+)\s+([0-9]+)\s+([0-9-]+)\s+([-\w]+)\s+([\w\+\.]+).*$cannot match my SMART Attributes Data.
Is it possible to modify the regex to include ([+]?) for matching?
The new regex looks like this: ^\s*([0-9]+)\s(\S+)\s+([-P][-O][-S][-R][-C][-K])([\+]?)\s+([0-9]+)\s+([0-9]+)\s+([0-9-]+)\s+([-\w]+)\s+([\w\+\.]+).*$
The text was updated successfully, but these errors were encountered:
smartctl --info --attributes --health -n standby --format=brief /dev/sda
and my disk SMART Attributes Data:
This regex
^\s*([0-9]+)\s(\S+)\s+([-P][-O][-S][-R][-C][-K])\s+([0-9]+)\s+([0-9]+)\s+([0-9-]+)\s+([-\w]+)\s+([\w\+\.]+).*$
cannot match my SMART Attributes Data.Is it possible to modify the regex to include
([+]?)
for matching?The new regex looks like this:
^\s*([0-9]+)\s(\S+)\s+([-P][-O][-S][-R][-C][-K])([\+]?)\s+([0-9]+)\s+([0-9]+)\s+([0-9-]+)\s+([-\w]+)\s+([\w\+\.]+).*$
The text was updated successfully, but these errors were encountered: