[pmg-devel] [PATCH pmg-gui] make who regex tests anchored

Dominik Csapak d.csapak at proxmox.com
Fri Feb 22 14:31:33 CET 2019


they are in the rule system, so let the users test it correctly

Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 js/Utils.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/js/Utils.js b/js/Utils.js
index b85c64d..ce15d06 100644
--- a/js/Utils.js
+++ b/js/Utils.js
@@ -144,6 +144,7 @@ Ext.define('PMG.Utils', {
 		    labelWidth: 150,
 		    fieldLabel: gettext('Test String'),
 		    xtype: 'pmgRegexTester',
+		    wholeMatch: true,
 		    regexFieldReference: 'regex'
 		}
 	    ]
-- 
2.11.0




More information about the pmg-devel mailing list