Click here to Skip to main content
15,917,731 members
Home / Discussions / C#
   

C#

 
GeneralRe: Partial Classes - What's The Big Deal? Pin
Christian Graus18-Oct-06 11:01
protectorChristian Graus18-Oct-06 11:01 
AnswerRe: Partial Classes - What's The Big Deal? Pin
Christian Graus18-Oct-06 11:33
protectorChristian Graus18-Oct-06 11:33 
GeneralRe: Partial Classes - What's The Big Deal? Pin
#realJSOP19-Oct-06 4:23
professional#realJSOP19-Oct-06 4:23 
GeneralRe: Partial Classes - What's The Big Deal? Pin
Robert Rohde19-Oct-06 8:36
Robert Rohde19-Oct-06 8:36 
Questiondate time exception Pin
Mohammed Elkholy18-Oct-06 8:57
Mohammed Elkholy18-Oct-06 8:57 
AnswerRe: date time exception Pin
Christian Graus18-Oct-06 10:04
protectorChristian Graus18-Oct-06 10:04 
AnswerRe: date time exception Pin
Guffa18-Oct-06 11:28
Guffa18-Oct-06 11:28 
QuestionFairly simple Regex question... Pin
rvp717y18-Oct-06 8:12
rvp717y18-Oct-06 8:12 
Hi there.
I'm getting a headache finding a regular expression to determine if the char that I've just read in is a word char (\w) or a valid form of punctuation (not sure how to best describe this in regex terms).

Essentailly I'm in a loop reading char by char and wanting to go do "something else" at the end of each word - unless the word is follwed by a semicolon or a comma or so-on. In this case I want to loop agin to include the punctuation char in the word and then go off and do the "something else".

I have the "word char" bit so far:

Regex reg = new Regex("\\w", RegexOptions.IgnoreCase|RegexOptions.Compiled);

But I need to add the "or a punctuation char" bit to this. I tried to using a number constructs to add the but nothing is working out!

Any help is greatly appreciated.

Kind regards,
John.
_______
Your system must be restarted for these changes to take effect.
This is not a drill.
AnswerRe: Fairly simple Regex question... Pin
Jim Conigliaro18-Oct-06 8:22
Jim Conigliaro18-Oct-06 8:22 
GeneralRe: Fairly simple Regex question... Pin
rvp717y18-Oct-06 11:09
rvp717y18-Oct-06 11:09 
GeneralRe: Fairly simple Regex question... Pin
Guffa18-Oct-06 12:12
Guffa18-Oct-06 12:12 
Questionsystem.web.mail and .net 1.1 Pin
numbers1thru918-Oct-06 8:05
numbers1thru918-Oct-06 8:05 
AnswerRe: system.web.mail and .net 1.1 Pin
Christian Graus18-Oct-06 8:07
protectorChristian Graus18-Oct-06 8:07 
AnswerRe: system.web.mail and .net 1.1 Pin
Aby Thomas Varghese18-Oct-06 8:59
Aby Thomas Varghese18-Oct-06 8:59 
QuestionWindows applications and use of RDBMS Pin
robert11018-Oct-06 7:43
robert11018-Oct-06 7:43 
AnswerRe: Windows applications and use of RDBMS Pin
User 665818-Oct-06 7:56
User 665818-Oct-06 7:56 
Questionplay a wav file Pin
rzvme18-Oct-06 6:46
rzvme18-Oct-06 6:46 
AnswerRe: play a wav file Pin
Christian Graus18-Oct-06 6:52
protectorChristian Graus18-Oct-06 6:52 
GeneralRe: play a wav file Pin
rzvme18-Oct-06 6:57
rzvme18-Oct-06 6:57 
GeneralRe: play a wav file Pin
Christian Graus18-Oct-06 7:07
protectorChristian Graus18-Oct-06 7:07 
AnswerRe: play a wav file Pin
Luc Pattyn18-Oct-06 8:09
sitebuilderLuc Pattyn18-Oct-06 8:09 
AnswerRe: play a wav file Pin
Aby Thomas Varghese18-Oct-06 9:07
Aby Thomas Varghese18-Oct-06 9:07 
QuestionDataGrid sorting causes rows to be out of sync with bound DataTable Pin
Rick Beideman18-Oct-06 5:25
Rick Beideman18-Oct-06 5:25 
AnswerRe: DataGrid sorting causes rows to be out of sync with bound DataTable Pin
Robert Rohde18-Oct-06 6:26
Robert Rohde18-Oct-06 6:26 
GeneralRe: DataGrid sorting causes rows to be out of sync with bound DataTable Pin
Rick Beideman18-Oct-06 6:59
Rick Beideman18-Oct-06 6: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.