Sometime on Mar 7, MaxG assembled some asciibets to say:

> var           : /\\w\\w*/  { \\\$item[1] } # \w stands for aplphanumeric plus "_"

the double backslash means match a literal backslash, so it should match 
\ w \ zero or more w  (a backslash followed by w followed by backslash 
followed by zero or more w

I don't understand how it works, unless this is a string that's being 
evaluated before being used as a regex.

In any case, what is written as aa* in other regex languages is written 
as a+ in perl, so you just want \w+

Philip



-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger 
for complex code. Debugging C/C++ programs can leave you feeling lost and 
disoriented. TotalView can help you find your way. Available on major UNIX 
and Linux platforms. Try it free. www.etnus.com
_______________________________________________
Html-template-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/html-template-users

Reply via email to