Test constraint regex value in composer as a full line match, same as in the backend

Signed-off-by: Mykola Mandra <mykola.mandra@cloudsoft.io>
diff --git a/ui-modules/blueprint-composer/app/components/providers/blueprint-service.provider.js b/ui-modules/blueprint-composer/app/components/providers/blueprint-service.provider.js
index 4307b4d..270176b 100644
--- a/ui-modules/blueprint-composer/app/components/providers/blueprint-service.provider.js
+++ b/ui-modules/blueprint-composer/app/components/providers/blueprint-service.provider.js
@@ -487,7 +487,8 @@
                         }
                         break;
                     case 'regex':
-                        if (isSet() && !(new RegExp(args).test(val()))) {
+                        let matchFullLine = '^' + args + '$';
+                        if (isSet() && !(new RegExp(matchFullLine).test(val()))) {
                             message = `<samp>${config.name}</samp> does not match the required format: <samp>${args}</samp>`;
                         }
                         break;