Click here to Skip to main content
15,915,703 members
Home / Discussions / C#
   

C#

 
AnswerRe: Regexp question Pin
leppie27-Aug-08 4:07
leppie27-Aug-08 4:07 
AnswerRe: Regexp question Pin
Guffa27-Aug-08 9:25
Guffa27-Aug-08 9:25 
QuestionRe: Regexp question Pin
Kjetil Svendsen27-Aug-08 10:24
Kjetil Svendsen27-Aug-08 10:24 
AnswerRe: Regexp question Pin
Guffa27-Aug-08 10:47
Guffa27-Aug-08 10:47 
GeneralRe: Regexp question Pin
Kjetil Svendsen27-Aug-08 11:46
Kjetil Svendsen27-Aug-08 11:46 
AnswerRe: Regexp question Pin
Guffa27-Aug-08 15:06
Guffa27-Aug-08 15:06 
GeneralRe: Regexp question Pin
Kjetil Svendsen27-Aug-08 20:57
Kjetil Svendsen27-Aug-08 20:57 
AnswerRe: Regexp question Pin
Guffa28-Aug-08 11:14
Guffa28-Aug-08 11:14 
No, that is not correct. If you check your result again, you will see that you are getting the breakfast and the dinner. That is because the pattern is consuming the line break before and after each match, so the next line won't match.

Change the part of the pattern that matches the end of the line or end of the string from (?:$|\r\n) to (?=$|\r\n) to make a zero-width positive lookahead.

Despite everything, the person most likely to be fooling you next is yourself.

QuestionHow to Open a Visual Studio 2008 Project with Express Edition Pin
Babubhai0727-Aug-08 1:53
Babubhai0727-Aug-08 1:53 
AnswerRe: How to Open a Visual Studio 2008 Project with Express Edition Pin
leppie27-Aug-08 2:26
leppie27-Aug-08 2:26 
GeneralRe: How to Open a Visual Studio 2008 Project with Express Edition Pin
Babubhai0727-Aug-08 5:41
Babubhai0727-Aug-08 5:41 
GeneralRe: How to Open a Visual Studio 2008 Project with Express Edition Pin
Thomas Stockwell27-Aug-08 6:07
professionalThomas Stockwell27-Aug-08 6:07 
QuestionHow can we generate a tiny preview image from a website ? Pin
Mohammad Dayyan27-Aug-08 1:41
Mohammad Dayyan27-Aug-08 1:41 
AnswerRe: How can we generate a tiny preview image from a website ? Pin
blackjack215027-Aug-08 2:18
blackjack215027-Aug-08 2:18 
GeneralRe: How can we generate a tiny preview image from a website ? Pin
Mohammad Dayyan27-Aug-08 2:24
Mohammad Dayyan27-Aug-08 2:24 
AnswerRe: How can we generate a tiny preview image from a website ? Pin
chaiguy133727-Aug-08 4:24
chaiguy133727-Aug-08 4:24 
Questionhow to change the value in Datetimepicker [Please help me its urgent] Pin
vinay_K27-Aug-08 1:33
vinay_K27-Aug-08 1:33 
AnswerRe: how to change the value in Datetimepicker [Please help me its urgent] Pin
Manas Bhardwaj27-Aug-08 1:42
professionalManas Bhardwaj27-Aug-08 1:42 
GeneralRe: how to change the value in Datetimepicker [Please help me its urgent] Pin
vinay_K27-Aug-08 1:51
vinay_K27-Aug-08 1:51 
GeneralRe: how to change the value in Datetimepicker [Please help me its urgent] Pin
Manas Bhardwaj27-Aug-08 1:54
professionalManas Bhardwaj27-Aug-08 1:54 
GeneralRe: how to change the value in Datetimepicker [Please help me its urgent] Pin
vinay_K27-Aug-08 2:11
vinay_K27-Aug-08 2:11 
GeneralRe: how to change the value in Datetimepicker [Please help me its urgent] Pin
Manas Bhardwaj27-Aug-08 2:32
professionalManas Bhardwaj27-Aug-08 2:32 
QuestionBarCode Report Pin
md_refay27-Aug-08 1:21
md_refay27-Aug-08 1:21 
Questioncapturing plug and play events in C# Pin
sibisusan27-Aug-08 1:02
sibisusan27-Aug-08 1:02 
QuestionEditing resource files for different languages, string don't persist Pin
steve_rm27-Aug-08 0:59
steve_rm27-Aug-08 0:59 

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.