fork(1) download
  1. import re
  2. s='''1.29.7D59 ; This field should not be edited
  3. SE5C620.86B.00.01 ; This field should not be edited
  4. I/O Sensitive ;Options: Balanced=00: I/O Sensitive=02
  5. POR - Reg. Value:0x1F ;Options: 0.0%=00: 0.1%=01'''
  6. print(re.findall(r'^[^;]*[^\s;]', s, re.M))
Success #stdin #stdout 0s 23304KB
stdin
Standard input is empty
stdout
['1.29.7D59', 'SE5C620.86B.00.01', 'I/O Sensitive', 'POR - Reg. Value:0x1F']