Validate a textField with GXT
===

I have to check some textField with the fallowing regex:  

    [\sa-zA-Z.'-àáâãäåçèéêëìíîïðòóôõöùúûüýÿ]+

It works with regex checkers but it doesn't work with my GWT/GXT application. I use the function above in a class that extends AbstractValidator.  

    public static native boolean isValidName(String name) /*-{
        var pattern =  /[\sa-zA-Z.\'-àáâãäåçèéêëìíîïðòóôõöùúûüýÿ]+/;
        return pattern.test(name);
    }-*/;