vikas17a / pygtalkrobot

Automatically exported from code.google.com/p/pygtalkrobot
0 stars 0 forks source link

Email docstring is broken #7

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Call the email function with 'email'

What is the expected output? What do you see instead?
You see the default function called, rather than the email.

What version of the product are you using? On what operating system?
Not relevant, it's a broken regex

Please provide any additional information below.
 '''[email|mail|em|m]\s+(.*?@.+?)\s+(.*?),\s*(.*?)(?i)'''
Using "[]" rather than "()" means it's taking a character from those, not the 
words. Use "()" and then just increment the referenced args to discard it 
(given the brackets are also being used to capture data).

Original issue reported on code.google.com by b...@brolgaswan.com on 9 Jan 2013 at 4:19