Fix regular expression for done tasks