Tests the ability to construct a complex regular expression that matches dates in log lines containing valid…
Tests the ability to construct a complex regular expression that matches dates in log lines containing valid…: a task in Terminal-Bench 2.1 (Harbor git-repos dataset) (Harbor dataset). Write a regex expression that matches dates in the format YYYY-MM-DD appearing in lines that contain an IPv4…
The task
Write a regex expression that matches dates in the format YYYY-MM-DD appearing in lines that contain an IPv4 address in a log file. If multiple dates are present in a line, the regex should match only the last date in that line. Assume that February can have up to 29 days in all years, without distinguishing leap…
Part of harborframework/terminal-bench-2.1.