[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [FWP] R/E Question



On Jan 29, Michael G Schwern said:

>    $$text =~ s/($uriRe)/
>      $uri_cand = $1;
>    
>      # A heruristic.  Often you'll see things like:
>      # "I saw this site, http:\/\/www.foo.com, and its really neat!"

Eww, you could get away with non-back-whacked /'s if you chose a different
s/// delimiter, man. :)

-- 

  MIDN 4/C PINYAN, USNR, NROTCURPI     http://www.pobox.com/~japhy/
  jeff pinyan: japhy@pobox.com     perl stuff: japhy+perl@pobox.com
  CPAN ID: PINYAN  http://www.perl.com/CPAN/authors/id/P/PI/PINYAN/
  PerlMonth - An Online Perl Magazine     http://www.perlmonth.com/


==== Want to unsubscribe from Fun With Perl?  Well, if you insist...
==== Send email to <fwp-request@technofile.org> with message _body_
====   unsubscribe