Test, validate and match regular expressions
This regex parses structured industrial product/order codes for SF-series units, likely hydraulic suction filters or valves. It captures named groups for unit type (SF), unit size (125-500), mounting type (A/B/K), decompression feature (0/1), cracking pressure, unit series (4X), optional limit switch type and power supply (Q2, G24Z), special versions (SO102/SO104), and any trailing additional details. Anchored with multiline flags, it validates codes line by line, useful for extracting order code fields from product lists or catalogs.