HF RL Explorer

Task: Regular Expression to Validate a 4-Digit Year

Task: Regular Expression to Validate a 4-Digit Year: a task in Terminal-Lego-15k (Harbor dataset). You need to write a script that validates whether given input strings represent valid 4-digit years. The validation criteria are:

The task

You need to write a script that validates whether given input strings represent valid 4-digit years. The validation criteria are:

Part of PrimeIntellect/Terminal-Lego-15k.