in reply to Comparing Perl with C#, a simple templating example

As ambrus pointed out...I'm seeing things.

@"%(?<templ>\w)%",

---------------------------^

Is there a '+' or '*' missing ^here?


Examine what is said, not who speaks.
"Efficiency is intelligent laziness." -David Dunham
"Think for yourself!" - Abigail
"Memory, processor, disk in that order on the hardware side. Algorithm, algorithm, algorithm on the code side." - tachyon

Replies are listed 'Best First'.
Re^2: Comparing Perl with C#, a simple templating example
by ambrus (Abbot) on Oct 17, 2004 at 14:33 UTC

    The perl version of the code does not have a + or * in the regexp either, so I don't think so.