Re: [htmltmpl] H::T chunking of templates
Brought to you by:
samtregar
From: Mathew R. <mat...@re...> - 2004-03-08 22:48:50
|
> Ah, now I see. I read the text you wrote instead of the regex because, = > you know, I'm not a regex engine. ;) >=20 > Of course *had* I properly read the regex you wrote, I would have=20 > figured it out. :-) > Couldn't you use a case-insensitive match though to avoid the=20 > [Tt][Mm][Pp][Ll] part? yep - but it would probably be about 10 times slower, as m//i makes a = copy of the input string. There are a number of places on the web which document this fact - until = the perl regex engine gets smarter, then the [...] syntax is the best = way to go Mathew |