dominikh changed the topic of #cinch to: The IRC Framework | Latest version: Cinch 2.1.0
pontiki has joined #cinch
<pontiki>
hey, folks. this has probably been asked, but i'm having a hard time googling up an answer:
<pontiki>
if i want to use the standard .send method to send a method message to an object, how would I do that if .send is overridden (forex, in a User object)
<pontiki>
ah, .__send__
kindoge_ has joined #cinch
kindoge has quit [Remote host closed the connection]
kindoge_ is now known as kindoge
kindoge has quit [Changing host]
kindoge has joined #cinch
postmodern has joined #cinch
CM-Punk has quit [Remote host closed the connection]
kindoge has quit [Remote host closed the connection]
kindoge has joined #cinch
kindoge has quit [Changing host]
kindoge has joined #cinch
kindoge has quit [Remote host closed the connection]
pontiki has left #cinch [""Poets have been mysteriously silent on the subject of cheese" -- G.K.Chesterson"]
sarkyniin has joined #cinch
FiXato has quit [Remote host closed the connection]
postmodern has quit [Quit: Leaving]
rikai has quit [Ping timeout: 245 seconds]
rikai has joined #cinch
FiXato has joined #cinch
sarkyniin has quit [Ping timeout: 260 seconds]
sarkyniin has joined #cinch
rikai has quit [Ping timeout: 255 seconds]
rikai has joined #cinch
postmodern has joined #cinch
nullProtectorate has joined #cinch
<nullProtectorate>
hello can someone help me?
sarkyniin has quit [Ping timeout: 264 seconds]
sarkyniin has joined #cinch
sarkyniin has quit [Ping timeout: 245 seconds]
sarkyniin has joined #cinch
<TieSoul>
what do you need help with
nullProtectorate has quit [Remote host closed the connection]
sarkyniin has quit [Quit: Quitte]
<IotaSpencer>
is there a way to put case insensitivity only on the command in match, say match /request .../ but the rest sensitive
<IotaSpencer>
because otherwise everything seems to be lowercase :<
<leftylink>
oh interesting. so make part of a regular expression case sensitive. I don't know if there is easy syntax for that, but match /[Rr][Ee][Qq][Uu][Ee][Ss][Tt] blahblah/ would do it
<leftylink>
IotaSpencer: oh interesting. so make part of a regular expression case sensitive. I don't know if there is easy syntax for that, but match /[Rr][Ee][Qq][Uu][Ee][Ss][Tt] blahblah/ would do it
<IotaSpencer>
I see
<leftylink>
IotaSpencer: or I guess my other option would be to make the entire thing case insensitive, and jsut check for the cas-sensitive part in your handler
<leftylink>
IotaSpencer: or try /(?i:insensitive) sensitive/
<leftylink>
I am just finding out about this myself actually
<leftylink>
in the presence of named capture groups, all positional captures... disappear completely? maybe?
<leftylink>
oh this be funky
<leftylink>
ok, so I think I know what I want to happen
<leftylink>
heh dominikh want me to do some work on making this named capture stuff work? so my vision is... if I have match /(?<a>b)/, method: :blah; def blah(m, a: nil); m.reply(a) end; then !b should cause bot to reply with 'b'