Another(!!) Newbie question

K

kyu

Hi guys, i'm writing a simple irc bot to get to grips with what i've
learned about ruby so far.
It works ok, but i'm looking for a simple way to format the output, at
the moment the log files and stdout
look something like this:

:[email protected] PRIVMSG #matrix :yea that's it

I read the pickaxe section on regexp thinking that would point me in the
right direction but i'm still not sure.

Any help would be great. Thanks.

-kyu
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,780
Messages
2,569,611
Members
45,280
Latest member
BGBBrock56

Latest Threads

Top