On Fri, Mar 07, 2008 at 11:16:32AM +0000, Hans wrote:
> 
> How can I split a page text into fragments with preg_split
> and have the split pattern not removed, but retained in the resulting
> fragments (or added back to each fragment)?

See the PREG_SPLIT_DELIM_CAPTURE option of the preg_split
function.

Pm

_______________________________________________
pmwiki-devel mailing list
pmwiki-devel@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-devel

Reply via email to