SPUG: ifs and whiles and hashes...

Darren/Torin/Who Ever... torin at daft.com
Thu Aug 19 06:19:45 CDT 1999


Sorry for commenting on what everyone else had already commented on.
For some reason, I didn't see this in Gnus when I was first looking.
Hrm.  At least, I did give the full reference to the Owl book and what's 
available on CPAN.  :)

I said:
>be escaped quotes in your matched strings, it's much quicker to say:
>/^\"(?:[^"])\",\"([^"])\",\"([^"])\"/.  That tells it that you want
>everything to the right of a " until there is another ".

And of course those should be [^"]*.  This is a problem I have at times
with regexes.  Thankfully, it's usually very obvious.

Darren
-- 
<torin at daft.com> <http://www.daft.com/~torin> <torin at debian.org> <torin at io.com>
Darren Stalder/2608 Second Ave, @282/Seattle, WA 98121-1212/USA/+1-800-921-4996
@ Sysadmin, webweaver, postmaster for hire. C/Perl/CGI/Pilot programmer/tutor @
@		     Make a little hot-tub in your soul.		      @

 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    POST TO: spug-list at pm.org        PROBLEMS: owner-spug-list at pm.org
 Seattle Perl Users Group (SPUG) Home Page: http://www.halcyon.com/spug/
 SUBSCRIBE/UNSUBSCRIBE: Replace ACTION below by subscribe or unsubscribe
        Email to majordomo at pm.org: ACTION spug-list your_address





More information about the spug-list mailing list