Test, validate and match regular expressions
This regex matches strings that start with 'ADD' followed by one or more digits, then 'C,' and a sequence of numbers and dots. It optionally matches an 'X' followed by another sequence of numbers and dots. It is useful for parsing specific formatted data lines containing identifiers, coordinates, or dimensional values.