Fix regex to detect tasks in notes.