Test, validate and match regular expressions
This regex attempts to match IPv4 addresses at the end of lines in multiline text. It looks for four groups of 1-3 digits separated by dots. Note that the dots aren't escaped (matching any character) and the capture groups only capture single digits due to quantifier placement. Use cases include network log parsing and IP address extraction, though a corrected version with escaped dots would be more reliable.