Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #11244

Re: help to debug a simple php preg_replace

Date 2011-01-28 20:36 +0100
From Luuk <Luuk@invalid.lan>
Newsgroups comp.lang.php
Subject Re: help to debug a simple php preg_replace
References <2c7b60f6-4912-46bf-8a85-71068de9e4f8@d17g2000vbn.googlegroups.com> <cbd93070-8f10-4376-8ff4-aa1810beef62@g1g2000prb.googlegroups.com> <jscb18-fbm.ln1@luuk.invalid.lan> <580a9839-2cec-4a9b-b54e-6785f0ccd1c0@d1g2000yqb.googlegroups.com>
Message-ID <feib18-l6o.ln1@luuk.invalid.lan> (permalink)

Show all headers | View raw


On 28-01-11 19:46, Joe wrote:
> I found it - it's not regular expression or preg_replace construct,
> but my logic problem (multiple $hyprtext lines result in only the last
> one taking effect).
> 
> joe

indeed,

so replate $hyprtext with $textline everywhere in your (previously
posted) code,
and you will be fine..

-- 
Luuk

Back to comp.lang.php | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Re: help to debug a simple php preg_replace Joe <juliani.moon@gmail.com> - 2011-01-28 10:46 -0800
  Re: help to debug a simple php preg_replace Luuk <Luuk@invalid.lan> - 2011-01-28 20:36 +0100

csiph-web