expect -re causes error

Hi there. Following part of my code causes script to abort. Why?

expect -re 'Netroup[^a-zA-Z]permissions[^a-zA-Z]list' {send "$ntgr\r"}
invalid command name "^a-zA-Z"
    while executing
"^a-zA-Z"
    ("foreach" body line 2)
    invoked from within
"foreach ntgr $netgroup {
expect -re 'Netgroup[^a-zA-Z]permissions[^a-zA-Z]list' {send "$ntgr\r"}
sleep 1
}"
    (file "./useradd.exp" line 23)

---------- Post updated 03-14-12 at 01:40 AM ---------- Previous update was 03-13-12 at 12:31 PM ----------

post up

try this

expect -re 'Netroup\[^a-zA-Z]permissions\[^a-zA-Z]list' {send "$ntgr\r"}