I have an input file with the following syntax:
00000 INFO [IVS ] reset receiver
00000 INFO [IVS ] reset transmitter
00331 INFO [IVS ] sync detected
Data Required in the form
frame=0000
info=INFO
TYPE=[IVS ]
message=reset receiver
($frame,$info,$type,$message)=split(what would be the argument?);
note: space after IVS before bracket, so cant use space as the separator.
I agree with @hobbs but you should use the expanded format for complex regular expressions: