mirror of
https://github.com/DarkStore-3DS/DarkStore.git
synced 2026-12-06 03:07:19 +00:00
WIP: Script-Creator!
This commit is contained in:
1 parent
984d363533
commit
91615d7891
8 files changed
+131
-155
No files matched your search
@@ -1,13 +1,11 @@
|
||||
#include "stringutils.hpp"
|
||||
|
||||
bool matchPattern(std::string pattern, std::string tested)
|
||||
{
|
||||
bool matchPattern(std::string pattern, std::string tested) {
|
||||
std::regex patternRegex(pattern);
|
||||
return regex_match(tested, patternRegex);
|
||||
}
|
||||
|
||||
std::string StringUtils::format(const std::string& fmt_str, ...)
|
||||
{
|
||||
std::string StringUtils::format(const std::string& fmt_str, ...) {
|
||||
va_list ap;
|
||||
char* fp = NULL;
|
||||
va_start(ap, fmt_str);
|
||||
|
||||
Reference in new issue
Block a user