fixed with https://github.com/Talend/tdi-studio-se/pull/2163/files#diff-efb520d08d213d74b4522fad0fb47fdbR57
@Pattern uses java Pattern in the studio and javascript RegExp in the web. To unify it we will just use the javascript syntax here.