import reline='VERSION="OTHER" POWER="LOW" FREQ="OFF" MAXTUN="BLER"'print(re.findall(r'\b(?:VERSION|FREQ)="(.*?)"', line))
Standard input is empty
['OTHER', 'OFF']
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!