Test, validate and match regular expressions
This regex matches EIM (Energy Imbalance Market) location spread instrument identifiers with named capture groups. It parses structured energy trading codes containing asset '02', two market locations separated by a slash, Calendar Year (CY) contract type with Long offset, Physical (PHY) or Future (FUT) derivative type, and a 4-digit year. Used in energy trading systems for validating and extracting components from spread instrument names.