Click here to Skip to main content
15,798,825 members
Home / Discussions / C#
   

C#

 
GeneralRe: RegEx problem with Escape sequences Pin
Kornfeld Eliyahu Peter12-Feb-14 2:11
professionalKornfeld Eliyahu Peter12-Feb-14 2:11 
GeneralRe: RegEx problem with Escape sequences Pin
Marco Bertschi12-Feb-14 2:17
professionalMarco Bertschi12-Feb-14 2:17 
GeneralRe: RegEx problem with Escape sequences Pin
Kornfeld Eliyahu Peter12-Feb-14 2:25
professionalKornfeld Eliyahu Peter12-Feb-14 2:25 
GeneralRe: RegEx problem with Escape sequences Pin
Marco Bertschi12-Feb-14 2:39
professionalMarco Bertschi12-Feb-14 2:39 
GeneralRe: RegEx problem with Escape sequences Pin
Kornfeld Eliyahu Peter12-Feb-14 2:46
professionalKornfeld Eliyahu Peter12-Feb-14 2:46 
AnswerRe: RegEx problem with Escape sequences Pin
Kornfeld Eliyahu Peter12-Feb-14 11:13
professionalKornfeld Eliyahu Peter12-Feb-14 11:13 
GeneralRe: RegEx problem with Escape sequences Pin
Marco Bertschi12-Feb-14 22:11
professionalMarco Bertschi12-Feb-14 22:11 
GeneralRe: RegEx problem with Escape sequences Pin
Kornfeld Eliyahu Peter12-Feb-14 22:36
professionalKornfeld Eliyahu Peter12-Feb-14 22:36 
It was a very nice challenge - I liked it, and very happy to help...
Marco Bertschi wrote:
This is true for SD-ID, but PARAM-NAME can be an UTF8 string of any length

RFC 5424:

SD-ID = SD-NAME
PARAM-NAME = SD-NAME

SD-NAME = 1*32PRINTUSASCII ; except '=', SP, ']', %d34 (")

According to this SD-ID and PARAM-NAME are the same - SD-NAME, and SD-NAME has a maximum of 32...

Marco Bertschi wrote:
I will not check this using the Regex since I will be faster just checking for string.Length.

I'm not sure all you have to do is add {1,32} at the end of the regex instead of *...

Marco Bertschi wrote:
I will publish my RFC5424 implementation as article on CodeProject

It must have to be an excellent quality - otherwise I will not let it pass moderation! Laugh | :laugh:
I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is. (V)

GeneralRe: RegEx problem with Escape sequences Pin
Marco Bertschi12-Feb-14 23:00
professionalMarco Bertschi12-Feb-14 23:00 
AnswerRe: RegEx problem with Escape sequences Pin
Marco Bertschi12-Feb-14 23:27
professionalMarco Bertschi12-Feb-14 23:27 
GeneralRe: RegEx problem with Escape sequences Pin
Kornfeld Eliyahu Peter13-Feb-14 3:22
professionalKornfeld Eliyahu Peter13-Feb-14 3:22 
GeneralRe: RegEx problem with Escape sequences Pin
Marco Bertschi13-Feb-14 3:47
professionalMarco Bertschi13-Feb-14 3:47 
GeneralRe: RegEx problem with Escape sequences Pin
Kornfeld Eliyahu Peter13-Feb-14 4:01
professionalKornfeld Eliyahu Peter13-Feb-14 4:01 
GeneralRe: RegEx problem with Escape sequences Pin
Marco Bertschi13-Feb-14 4:26
professionalMarco Bertschi13-Feb-14 4:26 
GeneralRe: RegEx problem with Escape sequences Pin
Kornfeld Eliyahu Peter13-Feb-14 4:34
professionalKornfeld Eliyahu Peter13-Feb-14 4:34 
GeneralRe: RegEx problem with Escape sequences Pin
Marco Bertschi13-Feb-14 5:16
professionalMarco Bertschi13-Feb-14 5:16 
QuestionCan not create CodeTemplate folder when install XSockets Pin
Member 1027154211-Feb-14 23:14
Member 1027154211-Feb-14 23:14 
AnswerRe: Can not create CodeTemplate folder when install XSockets Pin
Pete O'Hanlon11-Feb-14 23:23
subeditorPete O'Hanlon11-Feb-14 23:23 
QuestionHow to convert .NET application to native and execute it with our installing Framework Pin
X204011-Feb-14 13:41
X204011-Feb-14 13:41 
AnswerRe: How to convert .NET application to native and execute it with our installing Framework Pin
Dave Kreskowiak11-Feb-14 14:02
mveDave Kreskowiak11-Feb-14 14:02 
GeneralRe: How to convert .NET application to native and execute it with our installing Framework Pin
OriginalGriff11-Feb-14 23:41
mvaOriginalGriff11-Feb-14 23:41 
GeneralRe: How to convert .NET application to native and execute it with our installing Framework Pin
Dave Kreskowiak12-Feb-14 4:53
mveDave Kreskowiak12-Feb-14 4:53 
GeneralRe: How to convert .NET application to native and execute it with our installing Framework Pin
Ennis Ray Lynch, Jr.12-Feb-14 10:37
Ennis Ray Lynch, Jr.12-Feb-14 10:37 
GeneralRe: How to convert .NET application to native and execute it with our installing Framework Pin
Dave Kreskowiak12-Feb-14 14:12
mveDave Kreskowiak12-Feb-14 14:12 
AnswerRe: How to convert .NET application to native and execute it with our installing Framework Pin
Richard MacCutchan11-Feb-14 22:38
mveRichard MacCutchan11-Feb-14 22:38 

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.