> > $pattern = '|^.+?display:none.+?$|mi';
[8<]
> I found your use of ? rather... creative... Anyway, just add the
You mean the non-greedy flag? I think that's necessary the way the
regex was originally formulated -- without it, ".+display" would
gobble up all of the list-items until the last one
On Sun, Aug 9, 2009 at 12:17 AM, Rob Gould wrote:
> I wish I could say this works, but I'm not having success with this pattern.
> All the lines with display: none are still in the $bl string.
>
> On Aug 9, 2009, at 1:50 AM, LinuxManMikeC wrote:
>
> Reserved Frontstretch
>
> Tower Ticket to the Ca
Yay! That worked. Thanks!
On Aug 9, 2009, at 1:53 AM, Michael A. Peters wrote:
Rob Gould wrote:
I have a bunch of bullets in a list coming from a previous post,
and I need to eliminate any line from this string that contains
"display: none"
Reserved
Frontstretch Tower Ticket to the Cam
I wish I could say this works, but I'm not having success with this
pattern. All the lines with display: none are still in the $bl string.
On Aug 9, 2009, at 1:50 AM, LinuxManMikeC wrote:
Reserved
Frontstretch
Tower Ticket to the Camping World 300 on Saturday
Reserved
Frontstretch T
Rob Gould wrote:
I have a bunch of bullets in a list coming from a previous post, and I
need to eliminate any line from this string that contains "display: none"
Reserved
Frontstretch Tower Ticket to the Camping World 300 on Saturday
Reserved Frontstretch
Tower Ticket to the Daytona 500 on
On Sat, Aug 8, 2009 at 11:14 PM, Rob Gould wrote:
> I have a bunch of bullets in a list coming from a previous post, and I need
> to eliminate any line from this string that contains "display: none"
>
>
> Reserved Frontstretch
> Tower Ticket to the Camping World 300 on Saturday
> Reserved Frontstr
I have a bunch of bullets in a list coming from a previous post, and I
need to eliminate any line from this string that contains "display:
none"
Reserved
Frontstretch Tower Ticket to the Camping World 300 on Saturday
Reserved Frontstretch
Tower Ticket to the Daytona 500 on Sunday
7 matches
Mail list logo