mirror of
https://github.com/aaronpo97/the-biergarten-app.git
synced 2026-10-15 10:04:44 +00:00
Formatted includes/services/postal_code
This commit is contained in:
@@ -67,7 +67,8 @@ class MockPostalCodeService final : public IPostalCodeService {
|
|||||||
|
|
||||||
if (!spec.country_format_regex.empty()) {
|
if (!spec.country_format_regex.empty()) {
|
||||||
has_pattern = true;
|
has_pattern = true;
|
||||||
if (std::regex_match(candidate, std::regex(spec.country_format_regex))) {
|
if (std::regex_match(candidate,
|
||||||
|
std::regex(spec.country_format_regex))) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user