dev #1

Merged
alexander merged 9 commits from dev into master 2023-03-26 08:38:23 +00:00
1 changed files with 4 additions and 2 deletions
Showing only changes of commit 2010c7efde - Show all commits

View File

@ -13,6 +13,10 @@ private:
string path;
PP[string] properties;
bool readed = false;
const string pattern = "^( |\\t)*(((\\w(\\w|-)+)(( |\\t)*(=>|=){1}"
~ "( |\\t)*)(?!\\/(\\/|\\*))(([^ >\"'=\\n\\t#;].*?)|(\"(.+)\")"
~ "|('(.+)')){1})|(\\[(\\w(\\w|-)+)\\])|(\\[()\\]))( |\\t)*"
~ "(( |\\t)(#|;|\\/\\/|\\/\\*).*)?$";
/**
* Parameter and its value with the ability to convert to the desired data type
@ -69,8 +73,6 @@ private:
return;
}
string pattern = "^ *(\\w+)(( +=> +)|( += +))(?!\\/\\/)(([^ >\"'\\n#;].*?)|"
~ "(\"(.+?)\")|('(.+?)')){1} *( #.*?)?( ;.*?)?( \\/\\/.*)?$";
auto regular = regex(pattern, "m");
while (!configuration.eof())