Python is to English as being mono-languaged is to
never meeting girls in Europe.  Expand...  It is worth
the effort...

Doug

--- Shannon Roddy <[EMAIL PROTECTED]> wrote:
> Watching you guys go round and round about perl
> reminds me why I use 
> Python as my preferred language.  :-)
> 
> Shannon
> -ray wrote:
> 
> >On 20 Aug 2003, Wade wrote:
> >
> >  
> >
> >>                if ($text =~ /gecos: (.*?)/i) {
> >>    
> >>
> >
> >The ? makes the regexp non-greedy so it matches the
> minimum number of
> >times possible...  maybe it's matching null for
> some reason.  get rid of
> >the question mark and it works, although i don't
> totally understand how
> >the greediness works.  in this instance, i would
> probably use a word
> >boundary:
> >
> >if ($text =~ /gecos: (\w+)/i) {
> >
> >ray
> >  
> >
> 
> 
> 
> _______________________________________________
> General mailing list
> [email protected]
> http://brlug.net/mailman/listinfo/general_brlug.net


=====
Warmest Regards,

Doug Riddle
http://www.dougriddle.com
http://fossile-project.sourceforge.net/
http://www.libranet.com
-- "Firearms are second only to the Constitution in importance; they are the 
Peoples' Liberty Teeth." - George Washington --


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

Reply via email to