Source code formating unification
[platform/framework/web/wrt-plugins-common.git] / src / Commons / Regex.cpp
index 1374a14..9284d3f 100644 (file)
 
 namespace WrtDeviceApis {
 namespace Commons {
-
 bool validate(const std::string &pattern,
-        const std::string &value,
-        unsigned int options)
+              const std::string &value,
+              unsigned int options)
 {
     pcrecpp::RE_Options pcreOpt;
     if (options & VALIDATE_MATCH_CASELESS) {
@@ -35,7 +34,7 @@ bool validate(const std::string &pattern,
 }
 
 std::string filter(const std::string &pattern,
-        const std::string &value)
+                   const std::string &value)
 {
     pcrecpp::RE re(pattern);
     std::string ret = static_cast<std::string>(value);
@@ -50,6 +49,5 @@ std::string toUpper(const std::string &value)
     re.GlobalReplace(UPPER_P, &ret);
     return ret;
 }
-
 }
 } // WrtDeviceApisCommon