Build, test, and debug regular expressions
This regular expression matches a string consisting of numbers separated by dots, such as version numbers (e.g., 1.2.10) or dotted decimals. It ensures the entire line contains only digits and periods by anchoring the start and end of the string. It is useful for validating simple versioning schemes or hierarchical numerical data.