in reply to Re: experimental regex (?(?{code}) conditional (??{ 'code' }) )
in thread experimental regex (?(?{code}) conditional (??{ 'code' }) )

If you have a token like this, then regex is not the right tool.

Sure, but perl regex definitely is the right tool for the job.

FYI, the topic at hand is perl experimental feature (?(?:{code}) (??{'code'})), stick to it :)

  • Comment on Re^2: experimental regex (?(?{code}) conditional (??{ 'code' }) )

Replies are listed 'Best First'.
Re^3: experimental regex (?(?{code}) conditional (??{ 'code' }) )
by Marshall (Canon) on Nov 12, 2010 at 17:07 UTC
    Can you some give examples that illustrate your point better? Meaning the need for more complex syntax, ie where more straightforward approaches fail to deliver the desired result?