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


Groups > comp.lang.php > #11088 > unrolled thread

Re: help to debug a simple php preg_replace

Started byJoe <juliani.moon@gmail.com>
First post2011-01-28 10:46 -0800
Last post2011-01-28 20:36 +0100
Articles 2 — 2 participants

Back to article view | Back to comp.lang.php

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  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

#11088 — Re: help to debug a simple php preg_replace

FromJoe <juliani.moon@gmail.com>
Date2011-01-28 10:46 -0800
SubjectRe: help to debug a simple php preg_replace
Message-ID<580a9839-2cec-4a9b-b54e-6785f0ccd1c0@d1g2000yqb.googlegroups.com>
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

[toc] | [next] | [standalone]


#11244

FromLuuk <Luuk@invalid.lan>
Date2011-01-28 20:36 +0100
Message-ID<feib18-l6o.ln1@luuk.invalid.lan>
In reply to#11088
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

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.php


csiph-web