Test, validate and match regular expressions
Matches 3D printer serial communication log lines containing G-code movement commands (G0/G1/G2/G3, optionally prefixed with a line number like N123) sent to the printer, or lines where the printer responds with 'Recv: ok'. Typically used to filter or suppress routine movement commands and acknowledgment messages from serial console output, such as reducing log noise from a Creality CR-X Pro in host software like OctoPrint.