Browse Source

Cpp: Fix UTF-16 char in code to make code compile on Windows.

pull/567/head
Philip Liard 15 years ago
committed by Mihaela Rosca
parent
commit
cf1c52dd31
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      cpp/src/phonenumberutil.cc

+ 1
- 1
cpp/src/phonenumberutil.cc View File

@ -466,7 +466,7 @@ void CreateRegularExpressions() {
// two options for representing the ó - the character itself, and one in the // two options for representing the ó - the character itself, and one in the
// unicode decomposed form with the combining acute accent. // unicode decomposed form with the combining acute accent.
known_extn_patterns.reset(new string( known_extn_patterns.reset(new string(
StrCat("[  \\t,]*(?:ext(?:ensi(?:o\u0301?|ó))?n?|extn?|[,xx##~~]|"
StrCat("[  \\t,]*(?:ext(?:ensi(?:ó?|ó))?n?|extn?|[,xx##~~]|"
"int|int|anexo)" "int|int|anexo)"
"[:\\..]?[  \\t,-]*([", "[:\\..]?[  \\t,-]*([",
kValidDigits, "]{1,7})#?|[- ]+([", kValidDigits, "]{1,5})#"))); kValidDigits, "]{1,7})#?|[- ]+([", kValidDigits, "]{1,5})#")));


Loading…
Cancel
Save