Skip to content
This repository has been archived by the owner on May 12, 2020. It is now read-only.

Commit

Permalink
Allow brackets in objects
Browse files Browse the repository at this point in the history
  • Loading branch information
aquarion committed Nov 4, 2011
1 parent 65c2c2a commit 0e6c65a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lampstand/reactions/items.py
Expand Up @@ -22,7 +22,7 @@ class Reaction(lampstand.reactions.base.Reaction):
inventorysize = 10

def __init__(self, connection):
self.channelMatch = (re.compile('(%s: take|gives %s) ([\w\s\d\'\-]*?\S)\.?$' % (connection.nickname, connection.nickname), re.IGNORECASE), #0
self.channelMatch = (re.compile('(%s: take|gives %s) ([\w\s\d\'\-\(\)]*?\S)\s*\.?$' % (connection.nickname, connection.nickname), re.IGNORECASE), #0
re.compile('%s. inventory' % connection.nickname, re.IGNORECASE), #1
re.compile('%s. (attack|smite) (\S*)' % connection.nickname, re.IGNORECASE), #2
re.compile('%s. do science\!?' % connection.nickname, re.IGNORECASE), #3
Expand Down

0 comments on commit 0e6c65a

Please sign in to comment.