summaryrefslogtreecommitdiff
path: root/shortnumberutil.cc
diff options
context:
space:
mode:
Diffstat (limited to 'shortnumberutil.cc')
-rw-r--r--shortnumberutil.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/shortnumberutil.cc b/shortnumberutil.cc
index 9485d5a..43180b6 100644
--- a/shortnumberutil.cc
+++ b/shortnumberutil.cc
@@ -67,8 +67,8 @@ bool ShortNumberUtil::MatchesEmergencyNumberHelper(const string& number,
const scoped_ptr<RegExpInput> normalized_number_input(
regexp_factory->CreateInput(extracted_number));
- // In Brazil, it is impossible to append additional digits to an emergency
- // number to dial the number.
+ // In Brazil, emergency numbers don't work when additional digits are
+ // appended.
return (!allow_prefix_match || region_code == "BR")
? emergency_number_pattern->FullMatch(extracted_number)
: emergency_number_pattern->Consume(normalized_number_input.get());