Re: Nested RegEx

2012-04-24 Thread nrgyzer
== Auszug aus Dmitry Olshansky (dmitry.o...@gmail.com)'s Artikel > On 21.04.2012 22:46, H. S. Teoh wrote: > > On Sat, Apr 21, 2012 at 09:41:18PM +0400, Dmitry Olshansky wrote: > >> On 21.04.2012 21:24, nrgyzer wrote: > >>> Hi guys, > >>> > >>> I'm trying to use std.regex to parse a string like the

Re: Nested RegEx

2012-04-21 Thread Dmitry Olshansky
On 21.04.2012 22:46, H. S. Teoh wrote: On Sat, Apr 21, 2012 at 09:41:18PM +0400, Dmitry Olshansky wrote: On 21.04.2012 21:24, nrgyzer wrote: Hi guys, I'm trying to use std.regex to parse a string like the following: string myString = "preOuter {if condition1} content1 {if condition2} content2

Re: Nested RegEx

2012-04-21 Thread H. S. Teoh
On Sat, Apr 21, 2012 at 09:41:18PM +0400, Dmitry Olshansky wrote: > On 21.04.2012 21:24, nrgyzer wrote: > >Hi guys, > > > >I'm trying to use std.regex to parse a string like the following: > > > >string myString = "preOuter {if condition1} content1 {if condition2} content2 > >{elseif condition3} co

Re: Nested RegEx

2012-04-21 Thread Dmitry Olshansky
On 21.04.2012 21:24, nrgyzer wrote: Hi guys, I'm trying to use std.regex to parse a string like the following: string myString = "preOuter {if condition1} content1 {if condition2} content2 {elseif condition3} content3 {else}any other content{/if}{/if} postOuter"; Simply put pure regex is inc

Nested RegEx

2012-04-21 Thread nrgyzer
Hi guys, I'm trying to use std.regex to parse a string like the following: string myString = "preOuter {if condition1} content1 {if condition2} content2 {elseif condition3} content3 {else}any other content{/if}{/if} postOuter"; Is there any chance to use std.regex to parse the string above? I cu