0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-26 00:52:48 +00:00
This commit is contained in:
Trevor Buckner
2024-02-20 23:01:49 -05:00
parent e3bf913a80
commit df447d3d4d

View File

@@ -327,7 +327,7 @@ const definitionLists = {
};
//v=====--------------------< Variable Handling >-------------------=====v// 236 lines
//v=====--------------------< Variable Handling >-------------------=====v// 242 lines
const replaceVar = function(input, hoist=false, allowUnresolved=false) {
const regex = /([!$]?)\[((?!\s*\])(?:\\.|[^\[\]\\])+)\]/g;
const match = regex.exec(input);