I'm working on a filter to make sense out of equipment logs I have but I'm stuck because of my own incompetence. Are there any resources online that explain, on a idiot level, how to write patterns? I've looked at the doc page and the Oniguruma page but that is not enough for me.
Limit Switch Status: Error message Motor Status: Error message 2 >ERROR: Error message 3 +$GPRMC,11111.2222,A,3333.4444,N,11111.22222,E,22.33,4444.555,666666,,,D*5B +*** ERROR: Error message 4 ***
Something like (?< ERROR>.$) only works half (minus the space, error gets removed by the forum otherwise). It picks up the first error, but not the second and it only shows the last letter of the error. I've tried adding things such as ^ and $ to mark beginning and ending but no joy.
Does anybody have any pointers on how I can create fields and values based on the above? Links to resources with basic examples for new users are welcome as well. I tried searching but haven't really found anything offering good explanations.