effettivamente se scrivo
codice:
<script>
function checkA(nomecampo) 
{
        var str = nomecampo.value;
        var re =/^[0-9a-z \-\/\\]*$/gi;
        if((str!="")&&(!str.match(re)))
        {          alert("hey attento!");      
                  return false;
        }
        else  return true;

}
</script>
al posto di
codice:
<script>
function checkA(nomecampo) 
{
        var str = nomecampo.value;
        var re = new RegExp("^[ 0-9a-zA-Z\-\\/]*$");
        if((str!="")&&(!str.match(re)))
        {          alert("hey attento!");      
                  return false;
        }
        else  return true;

}
</script>
funziona perfettamente.
ora indaghero' sul perchè
intanto grazie mille