What If The Death Note Accepted Regex?
# A fun regex exercise done in Python
You are now Light Yagami — protagonist of the anime Death Note. One day, you find the Death Note on the floor. On the first page, it states:
The human whose name is written in this note shall die.
If the cause of death is written within the next 40 seconds of writing the person’s name, it will happen.