Add a ^ to the beginning of the pattern. Try changing:
<var-value>[^/$&=]+$</var-value>
To
<var-value>^[^/$&=]+$</var-value>
That should work.
If you're not familiar with regular expressions, a ^ at the beginning of a
regexp matches the string starting at the beginning (just as the $ matches
at the end). Without it, as long as _something_ comes before the forbidden
characters, the mask will return true.
To see the difference, paste this Javascript into an HTML doc.
<script>
var pattern = /[^&$]+$/; //"this" will match in the regular expression
alert (pattern.exec("this& is a Test")) ;
var pattern = /^[^&$]+$/; //regexp will fail.
alert (pattern.exec("this& is a Test")) ;
</script>
Greg
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]