Test, validate and match regular expressions
Validates and parses industrial product/order codes for hydraulic valve units (e.g., Bosch Rexroth-style check valves). It matches codes starting with unit type SL or SV, size 6, P mounting, decompression feature A/B, and cracking pressure 1-4, followed by a dash, the 6X series, and a '/' or '=' separator. Optional surface coating (J50) and seal material (V) groups may be empty, with any trailing characters captured as additional details, e.g. 'SL6PA2-6X/J50V'.