CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
Search Posts SEARCH
Who's Online WHO'S
Log in LOG

Home: Perl Programming Help: Regular Expressions: Re: [KevinR] possible regex problem, not matching: Edit Log

New User

Oct 19, 2008, 3:27 PM

Views: 11997
Re: [KevinR] possible regex problem, not matching

the reason for $1, $3, and $4 is because $2 is either @ or -, since the irc server I'm connected to is sometimes - and sometimes its reported as @, but if I removed the ()'s from (\@|\-) would that still work?

here is an example format of the irc server output in which the join regex would match, if it helps:

:nickname! JOIN :#channel

(This post was edited by fatalnix on Oct 19, 2008, 3:31 PM)

Edit Log:
Post edited by fatalnix (New User) on Oct 19, 2008, 3:31 PM

Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives