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

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

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



fatalnix
New User

Oct 19, 2008, 3:27 PM


Views: 4854
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!theiruser@example.host.mydsl.com 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