Regex Trouble

Regex Trouble

Hello,
Could someone tell me what going wrong with this code?

  1. $("#P_Profil").on("change", "#Inp_Taille", function ()
  2. {
  3.     G_Taille = parseInt($("#Inp_Taille").val());
  4.     var regT = new RegExp("^[1-2]{1}(\d){0,2}$|^[1-2]{1}[,.](\d){2}$");
  5.     var ResultTestT = regT.test(G_Taille);
  6.     if (ResultTestT)
  7.     {
  8.         console.log("On y passe");
  9.         flgT = true;
  10.         CalculIMC();
  11.         CalculPoidsIdeal();
  12.         $("#Inp_Taille").css("background-color", "rgba(255, 255, 255, 0.0)");
  13.     } else
  14.     {
  15.         flgT = false;
  16.         console.log("#Inp_Taille " + G_Taille);
  17.         console.log("On y passe pas");
  18.         $("#Inp_Taille").css("background-color", "#8a5757");
  19.     }
  20. });
I'm sure my regEx is correct. It should accept a size expressed in centimeter or meter ex: 1,95 or 1.95 or 195 but the result of  test() remains always 'false' . ???
Thanks in advance

ex =>  fiddle
RegEx tested ==>  regextester