From: Michael Malone Date: 2009-04-09T13:45:22+09:00 Subject: Re: A hopefully simple question Phlip wrote: > Michael Malone wrote: > >> /Everybody stand back/ >> I know regular expressions > > Our hero! > >> if msg.text =~ %r{lol}i >> reply(msg, " LOLOLOLOL") > > bla> echololia is a serious aphasia > > bot> LOLOLOLOL > > bla> uh... k > %r{\Wlol\W}i da di duh da... *indiana jones theme music* ======================================================================= This email, including any attachments, is only for the intended addressee. It is subject to copyright, is confidential and may be the subject of legal or other privilege, none of which is waived or lost by reason of this transmission. If the receiver is not the intended addressee, please accept our apologies, notify us by return, delete all copies and perform no other act on the email. Unfortunately, we cannot warrant that the email has not been altered or corrupted during transmission. =======================================================================