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


Groups > comp.lang.php > #6538

Re: not understanding pattern matching

Date 2012-07-11 19:11 -0400
From Michael Joel <null@void.void>
Newsgroups comp.lang.php
Subject Re: not understanding pattern matching
References <vKadnRzba_frYmDSnZ2dnUVZ_qGdnZ2d@earthlink.com> <2k0sv7dto2p429rl73r9n7hna7e06sh0jk@mfesser.de>
Message-ID <7didnTrFNO5ummPSnZ2dnUVZ_q-dnZ2d@earthlink.com> (permalink)

Show all headers | View raw


Michael Fesser wrote:

> .oO(Michael Joel)
> 
> 
>>I am wanting to change words in a string that has special tags.
>>Ex. "This is a %/i%special%i% word in the string."
>>If I want to replace any word between the %/i% and %i% what would I do?
>>
>>I messed with preg_repace but I couldn't understand the pattern system.
> 
> 
> What have you tried so far? Do you have any experiences with regular
> expressions?
> 
> Micha
> 

I have tried many things but all return errors - mostly "unknown modifier".

Mike

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


Thread

not understanding pattern matching Michael Joel <null@void.void> - 2012-07-11 18:35 -0400
  Re: not understanding pattern matching Michael Fesser <netizen@gmx.de> - 2012-07-12 00:49 +0200
    Re: not understanding pattern matching Michael Joel <null@void.void> - 2012-07-11 19:11 -0400
      Re: not understanding pattern matching Michael Fesser <netizen@gmx.de> - 2012-07-12 01:26 +0200
        Re: not understanding pattern matching Michael Joel <null@void.void> - 2012-07-11 19:31 -0400
          Re: not understanding pattern matching BootNic <bootnic.bounce@gmail.com> - 2012-07-11 21:32 -0400
          Re: not understanding pattern matching Denis McMahon <denismfmcmahon@gmail.com> - 2012-07-13 03:22 +0000
    Re: not understanding pattern matching Michael Joel <null@void.void> - 2012-07-11 19:11 -0400
  Re: not understanding pattern matching Michael Joel <null@void.void> - 2012-07-11 23:27 -0400

csiph-web