🐛 extend regex for macro parsing
- extend the regex to include "." to parse decimal values for the parameter Dialog of the macro Fixes #76
This commit is contained in:
parent
8c2d8d054e
commit
4fc646598a
|
@ -23,7 +23,7 @@ $(function() {
|
|||
self.macroName = ko.observable();
|
||||
|
||||
var paramObjRegex = /{(.*?)}/g;
|
||||
var keyValueRegex = /(\w*)\s*:\s*([\w\s°"|]*)/g;
|
||||
var keyValueRegex = /(\w*)\s*:\s*([\w\s°"|\.]*)/g;
|
||||
|
||||
self.process = function(macro) {
|
||||
self.macro = macro.macro();
|
||||
|
|
Loading…
Reference in New Issue