note 94072 added to function.preg-match-all

From: Date: Thu, 15 Oct 2009 07:51:49 +0000
Subject: note 94072 added to function.preg-match-all
Groups: php.notes 
Request: Send a blank email to php-notes+get-161749@lists.php.net to get a copy of this message
Generating a Table of Contents from HTML (with h1,h2,h3) using preg_match_all and preg_replace, I did the following: - First give every header an unique ID (because we are using PrinceXML) and is a good pratice. - Then create an OL/LI structure of it, although that piece of code can contain bugs. See: http://pastie.org/655728 ---- Server IP: 83.137.20.135 Probable Submitter: 81.207.252.196 ---- Manual Page -- http://www.php.net/manual/en/function.preg-match-all.php Edit -- https://master.php.net/note/edit/94072 Del: integrated -- https://master.php.net/note/delete/94072/integrated Del: useless -- https://master.php.net/note/delete/94072/useless Del: bad code -- https://master.php.net/note/delete/94072/bad+code Del: spam -- https://master.php.net/note/delete/94072/spam Del: non-english -- https://master.php.net/note/delete/94072/non-english Del: in docs -- https://master.php.net/note/delete/94072/in+docs Del: other reasons-- https://master.php.net/note/delete/94072 Reject -- https://master.php.net/note/reject/94072 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#161749) next »