nmelnick / whatbot

whatbot: A sane bot for most chat applications, written in modern Perl
http://www.whatbot.org
10 stars 7 forks source link

Quote should allow interquotes #19

Closed nmelnick closed 10 years ago

nmelnick commented 10 years ago

Quote currently does a regex toward the last quote, so, the command:

quote someone "So, I said, "Hey, buddy, what are you doing?" Then, I moved on."

would result in

"Hey, buddy, what are you doing?" Then, I moved on."

This should understand the first quote instance and the last quote instance, and allow everything in between.

nmelnick commented 10 years ago

Looks like this was fixed with commit 6e37d21331.