Click here to Skip to main content
15,922,584 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: SelectItem of CTreeCtrl Pin
Zasky28-Sep-11 0:41
Zasky28-Sep-11 0:41 
AnswerRe: SelectItem of CTreeCtrl Pin
Roger Allen29-Sep-11 0:34
Roger Allen29-Sep-11 0:34 
QuestionEnvironment for PIC programming Pin
CodingLover27-Sep-11 23:40
CodingLover27-Sep-11 23:40 
AnswerRe: Environment for PIC programming Pin
Software_Developer28-Sep-11 0:19
Software_Developer28-Sep-11 0:19 
GeneralRe: Environment for PIC programming Pin
CodingLover28-Sep-11 0:26
CodingLover28-Sep-11 0:26 
GeneralRe: Environment for PIC programming Pin
Software_Developer28-Sep-11 2:04
Software_Developer28-Sep-11 2:04 
GeneralRe: Environment for PIC programming Pin
CodingLover28-Sep-11 18:02
CodingLover28-Sep-11 18:02 
GeneralRe: Environment for PIC programming Pin
Albert Holguin29-Sep-11 3:34
professionalAlbert Holguin29-Sep-11 3:34 
AnswerRe: Environment for PIC programming Pin
castingflame28-Sep-11 4:18
castingflame28-Sep-11 4:18 
GeneralRe: Environment for PIC programming Pin
CodingLover28-Sep-11 18:07
CodingLover28-Sep-11 18:07 
QuestionWaitForSingleObject Pin
john563227-Sep-11 22:58
john563227-Sep-11 22:58 
AnswerRe: WaitForSingleObject Pin
Cedric Moonen28-Sep-11 1:21
Cedric Moonen28-Sep-11 1:21 
AnswerRe: WaitForSingleObject Pin
Code-o-mat28-Sep-11 4:37
Code-o-mat28-Sep-11 4:37 
GeneralRe: WaitForSingleObject Pin
Albert Holguin29-Sep-11 3:37
professionalAlbert Holguin29-Sep-11 3:37 
GeneralRe: WaitForSingleObject Pin
Code-o-mat29-Sep-11 3:40
Code-o-mat29-Sep-11 3:40 
AnswerRe: WaitForSingleObject Pin
Roger Stoltz28-Sep-11 21:18
Roger Stoltz28-Sep-11 21:18 
AnswerRe: WaitForSingleObject Pin
Albert Holguin29-Sep-11 3:42
professionalAlbert Holguin29-Sep-11 3:42 
QuestionCRichEditCtrl Flickring Pin
john563227-Sep-11 19:43
john563227-Sep-11 19:43 
AnswerRe: CRichEditCtrl Flickring Pin
Madhu Nair27-Sep-11 20:33
Madhu Nair27-Sep-11 20:33 
AnswerRe: CRichEditCtrl Flickring Pin
Software_Developer27-Sep-11 20:37
Software_Developer27-Sep-11 20:37 
AnswerRe: CRichEditCtrl Flickring Pin
Code-o-mat27-Sep-11 22:02
Code-o-mat27-Sep-11 22:02 
GeneralRe: CRichEditCtrl Flickring Pin
john563227-Sep-11 22:23
john563227-Sep-11 22:23 
QuestionMS TR1 Regex Pin
TenFiftyTwo27-Sep-11 12:54
TenFiftyTwo27-Sep-11 12:54 
I am new to the MS TR1 2008 implementation of regex.

My application used to use a regex provided by a third party sofware house (Tropic Sofware East) - but I decided to move to MS TR1 version (from all the reports I read - I am beginning to regret that decision).

Has any one else experienced problems with matching reg-expressions that are case sensitive? Here is an example:

...

fOption |= std::tr1::regex::icase; // Ensure case-insensitive.

...

try
{
a_pRegex->assign( a_pszString, fOption );
}

...

// later

std::string str = ( LPCTSTR )szString;
if( regex_match( str.begin(), str.end(), *m_pRegex ) )
{
// Yippie .. a match
...
}

It's not important about the variable names that get passed around in the code (as the snippet is obviously heavily edited. It nevertheless does not perform a match - even on a simple 'HELLO' and 'H[a-z]+O') - if anyone has any pointers as to where I am going wrong - I'd appreciate the help.

Regards.
James
QuestionRe: MS TR1 Regex Pin
David Crow27-Sep-11 15:48
David Crow27-Sep-11 15:48 
AnswerRe: MS TR1 Regex Pin
Peter_in_278027-Sep-11 16:17
professionalPeter_in_278027-Sep-11 16:17 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.