Commit 8fa23b86 authored by redfast00's avatar redfast00 Committed by GitHub

Merge pull request #6 from ZeusWPI/Jan-PieterBaert-patch-1

edit regex so names containing `-` are allowed
parents b980376a f60e6a54
......@@ -29,7 +29,7 @@ class Quote(db.Model):
QUOTEE_REGEX = re.compile('\W*(\w+).*')
QUOTEE_REGEX = re.compile('\W*([a-zA-Z\-_0-9]+).*')
def __repr__(self):
return "<Quote {} \"{}\">".format(self.quoter, self.quote)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment