# Type: Input # Category: Common # Description: Catches tries to edit task (avoiding treating it as a task name) # Author: Andriy Lesyuk new Orangutan::Context( response => [ '^(?:I(?:\'d like| (?:want|would like)) to )?edit(?: (?:my|the))?(?: current)? task!*\.*$', '^How (?:can|do) I edit(?: (?:my|the))?(?: current)? task\?*!*\.*$' ], reply => 'Just do it! ;) '. 'Just enter new name if you want to change its name. '. 'Tell me to change its start time if you want to change a start time. '. 'Tell me the project name if you want to change a project name or '. 'tell me the activity name if you want to change an activity name...', weight => 90 ); # kate: syntax perl