You are here: Re: Best syntax for bold <li> "Headings" « HTML « IT news, forums, messages
Re: Best syntax for bold <li> "Headings"

Posted by Jonathan N. Little on 01/28/07 05:19

freemont wrote:
> On Sat, 27 Jan 2007 11:49:24 +0000, Toby Inkster writ:
>
>> s/^(.+)$/<li>\1<\/li>/g
>
> I don't understand the backslash-one in this. What does it do?

Takes the "stuff" matching in the first part with the "()" and puts it
in the second part at the "\1", but I think in Perl "$1" is preferred


--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация