countdown: make new reminder regex non-greedy
This commit is contained in:
parent
0c69530cf9
commit
48beddb580
@ -20,7 +20,7 @@ log = logging.getLogger('countdown.ircplugin')
|
||||
class Countdown(Plugin):
|
||||
"""Report on countdown items."""
|
||||
|
||||
new_reminder_regex = r'remind\s+([^\s]+)\s+(at|in|on)\s+(.*)\s+(to|that)\s+(.*)'
|
||||
new_reminder_regex = r'remind\s+([^\s]+)\s+(at|in|on)\s+(.*?)\s+(to|that)\s+(.*)'
|
||||
|
||||
def __init__(self, bot, connection, event):
|
||||
"""Initialize some stuff."""
|
||||
|
Loading…
Reference in New Issue
Block a user