HF RL Explorer

Write a regex expression that matches dates in the format YYYY-MM-DD appearing in lines that contain an IPv4…

Write a regex expression that matches dates in the format YYYY-MM-DD appearing in lines that contain an IPv4…: a task in terminal-bench-2.0 (Harbor dataset). Note: Be careful that there might be text in the log that looks similar to dates or IPv4 addresses but is not (e.g., user 1134-12-1234). To…

The task

Note: Be careful that there might be text in the log that looks similar to dates or IPv4 addresses but is not (e.g., user 1134-12-1234). To avoid false matches, ensure that valid dates and IPv4 addresses are not immediately preceded or followed by alphanumeric characters.

Part of harborframework/terminal-bench-2.0.