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

Re: [FWP] hole 6 - Translate... [SPOILERS]



>>>>> "RD" == Rick Delaney <rick.delaney@home.com> writes:

  RD> I didn't beat the best solution but I did tie it with a variation:
  RD> Solution on the site:
  RD>     perl -pe's/:(?=[^(]*\))/-/g'

  RD> Mine:
  RD>     perl -050pe's/:(?=.*\))/-/g'


amusing, setting $/ to ( and using the -p loop that way.

this was my hole idea and my solution. :)

uri

-- 
Uri Guttman  ---------  uri@sysarch.com  ----------  http://www.sysarch.com
SYStems ARCHitecture, Software Engineering, Perl, Internet, UNIX Consulting
The Perl Books Page  -----------  http://www.sysarch.com/cgi-bin/perl_books
The Best Search Engine on the Net  ----------  http://www.northernlight.com

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