Search   Feed   Browse   Add
Feed items 1 - 3 of 3 for October 2006

Re: MacPerl-AnyPerl Let perl replase words by Jeff Lowrey - October 7, 2006

$head = s($replace)<u>$1<u>gi;
http://www.nntp.perl.org/group/perl.macperl.anyperl/2006/10/msg301.html

Re: Let perl replase words by Chris Sarnowski - October 7, 2006

On Oct 7, 2006, at 2:59 PM, Eelco Alosery wrote:>> Hello,>> I have a small, (maby big) problem.>> Im writing a search script for my site, and wand to do some > replacing of words.>> I have a string that contains for example this :> Test this is a smal test script line.>> Now i have a search patern :> test>> What i want to do is this.> Test and test must be replased by <b>Test<b> and <b>test<b>>> Thus al (case...
http://www.nntp.perl.org/group/perl.macperl.anyperl/2006/10/msg300.html

Let perl replase words by Eelco Alosery - October 7, 2006

Hello,I have a small, (maby big) problem.Im writing a search script for my site, and wand to do some replacing of words.I have a string that contains for example this :Test this is a smal test script line.Now i have a search patern :testWhat i want to do is this.Test and test must be replased by <b>Test<b> and <b>test<b>Thus al (case insensative) matches to test must be converted to bold words.I have tested a lot, and the best result sovar is this code :$head =...
http://www.nntp.perl.org/group/perl.macperl.anyperl/2006/10/msg299.html
Available Archives
- October (3 items)
Sponsored Links
© 2008 FeedCapsule.com  |  Contact