mirror of
https://github.com/asdlokj1qpi233/subconverter.git
synced 2026-11-03 02:02:24 +00:00
Bug fixes
Fix when importing rulesets, some invisible characters are also added to the result. Fix proxy group/ruleset settings not working properly with YAML format external configurations.
This commit is contained in:
4 files changed
+24
-1
No files matched your search
@@ -618,8 +618,14 @@ bool regValid(const std::string &target)
|
||||
jp::Regex reg(target);
|
||||
return !!reg;
|
||||
}
|
||||
|
||||
#endif // USE_STD_REGEX
|
||||
|
||||
std::string regTrim(const std::string &src)
|
||||
{
|
||||
return regReplace(src, "^\\s*?(.*?)\\s*$", "$1");
|
||||
}
|
||||
|
||||
std::string speedCalc(double speed)
|
||||
{
|
||||
if(speed == 0.0)
|
||||
|
||||
Reference in new issue
Block a user