// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
+ ArrayList* pArgList = null;
+ pArgList = new(std::nothrow) ArrayList();
+ pArgList->Construct();
+ pArgList->Add(*new(std::nothrow) String(CommonUtil::GetString(L"IDS_BR_SK_CANCEL")));
+ SceneManager::GetInstance()->GoBackward(BackwardSceneTransition(), pArgList);
switch(actionId)
{
case IDA_BUTTON_DONE:
{
pArgList->Add(*new(std::nothrow) String(CommonUtil::GetString(L"IDS_BR_SK_DONE")));
String urlText = __pUrlEditField->GetText();
switch(actionId)
{
case IDA_BUTTON_DONE:
{
pArgList->Add(*new(std::nothrow) String(CommonUtil::GetString(L"IDS_BR_SK_DONE")));
String urlText = __pUrlEditField->GetText();
- String firstPattern(L"((https?|ftp|gopher|telnet|file|notes|ms-help):((//)|(\\\\))+[\w\d:#@%/;$()~_?\+-=\\\.&]*)");
- String secondPattern(L"^[A-Za-z0-9\.\+-:#@%/;$~?]+\\.[A-Za-z0-9\+-=:#@%/;$~()_?\\\.&]{2,}$"); // URL of type abc.com (i.e without protocol in front of it)
+ String firstPattern(L"((https?|ftp|gopher|telnet|file|notes|ms-help):((//)|(\\\\))+[\w\d:#@%/;$()~_?\+-=\\\.&]*)");//[\w\d:#@%/;$()~_?\+-=\\\.&]*
+ String secondPattern(L"^[A-Za-z0-9\.\+-:#@%/;$~?]+\\.[A-Za-z0-9 !\+-=:#@%/;$~()_?\\\.&]{2,}$"); // URL of type abc.com (i.e without protocol in front of it)
RegularExpression firstRegex;
RegularExpression secondRegex;
firstRegex.Construct(firstPattern, REGEX_CASELESS);
secondRegex.Construct(secondPattern, REGEX_CASELESS);
RegularExpression firstRegex;
RegularExpression secondRegex;
firstRegex.Construct(firstPattern, REGEX_CASELESS);
secondRegex.Construct(secondPattern, REGEX_CASELESS);