fork(1) download
  1. import re
  2. line='VERSION="OTHER" POWER="LOW" FREQ="OFF" MAXTUN="BLER"'
  3. print(re.findall(r'\b(?:VERSION|FREQ)="(.*?)"', line))
Success #stdin #stdout 0.02s 28384KB
stdin
Standard input is empty
stdout
['OTHER', 'OFF']