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

C#

 
GeneralRe: Help needed XNA and Window Forms Pin
larsp77712-Feb-14 1:13
larsp77712-Feb-14 1:13 
GeneralRe: Help needed XNA and Window Forms Pin
DaveyM6912-Feb-14 1:39
professionalDaveyM6912-Feb-14 1:39 
GeneralRe: Help needed XNA and Window Forms Pin
larsp77712-Feb-14 4:34
larsp77712-Feb-14 4:34 
GeneralRe: Help needed XNA and Window Forms Pin
Pete O'Hanlon12-Feb-14 4:50
mvePete O'Hanlon12-Feb-14 4:50 
AnswerRe: Help needed XNA and Window Forms Pin
Marco Bertschi12-Feb-14 1:40
protectorMarco Bertschi12-Feb-14 1:40 
QuestionRegEx problem with Escape sequences Pin
Marco Bertschi11-Feb-14 23:30
protectorMarco Bertschi11-Feb-14 23:30 
SuggestionRe: RegEx problem with Escape sequences Pin
Kornfeld Eliyahu Peter11-Feb-14 23:39
professionalKornfeld Eliyahu Peter11-Feb-14 23:39 
GeneralRe: RegEx problem with Escape sequences Pin
Marco Bertschi11-Feb-14 23:53
protectorMarco Bertschi11-Feb-14 23:53 
GeneralRe: RegEx problem with Escape sequences Pin
Kornfeld Eliyahu Peter11-Feb-14 23:57
professionalKornfeld Eliyahu Peter11-Feb-14 23:57 
GeneralRe: RegEx problem with Escape sequences Pin
Marco Bertschi12-Feb-14 0:09
protectorMarco Bertschi12-Feb-14 0:09 
GeneralRe: RegEx problem with Escape sequences Pin
Kornfeld Eliyahu Peter12-Feb-14 0:25
professionalKornfeld Eliyahu Peter12-Feb-14 0:25 
GeneralRe: RegEx problem with Escape sequences Pin
Marco Bertschi12-Feb-14 1:06
protectorMarco Bertschi12-Feb-14 1:06 
GeneralRe: RegEx problem with Escape sequences Pin
Kornfeld Eliyahu Peter12-Feb-14 1:11
professionalKornfeld Eliyahu Peter12-Feb-14 1:11 
GeneralRe: RegEx problem with Escape sequences Pin
Marco Bertschi12-Feb-14 1:17
protectorMarco Bertschi12-Feb-14 1:17 
GeneralRe: RegEx problem with Escape sequences Pin
Kornfeld Eliyahu Peter12-Feb-14 1:25
professionalKornfeld Eliyahu Peter12-Feb-14 1:25 
GeneralRe: RegEx problem with Escape sequences Pin
Marco Bertschi12-Feb-14 1:39
protectorMarco Bertschi12-Feb-14 1:39 
GeneralRe: RegEx problem with Escape sequences Pin
Kornfeld Eliyahu Peter12-Feb-14 1:46
professionalKornfeld Eliyahu Peter12-Feb-14 1:46 
AnswerRe: RegEx problem with Escape sequences Pin
Kornfeld Eliyahu Peter12-Feb-14 10:13
professionalKornfeld Eliyahu Peter12-Feb-14 10:13 
I add my answer here as our little chat is loooooooooooooooong.
As I saw you try to verify a SD-ELEMENT according to rfc 5424...
SD-ELEMENT is build from SD-ID and SD-PARAM
SD-ID is build like
* any US-ASCII except @, =, ], ", whitesapce and control charaters
* a @
* one or more numbers separated by dot (.)
The regex for that is -
([!-~][^@=\]\"])+@(\d)+(\.(\d)+)*

SD-PARAM is build from PARAM-NAME and PARAM-VALUE. PARAM-NAME is the same as SD-ID...
PARAM-VALUE build like
* any UTF-8
* the characters ", \ and ] must be escaped (by \)
The regex for that is -
([^"\]\\]|(\\")|(\\])|\\{2})*


It's not clearly stated (or I missed) but seems to me that SD-ID and PARAM-NAME should not exceed the length of 32 characters...

I hope it helps...
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 21:11
protectorMarco Bertschi12-Feb-14 21:11 
GeneralRe: RegEx problem with Escape sequences Pin
Kornfeld Eliyahu Peter12-Feb-14 21:36
professionalKornfeld Eliyahu Peter12-Feb-14 21:36 
GeneralRe: RegEx problem with Escape sequences Pin
Marco Bertschi12-Feb-14 22:00
protectorMarco Bertschi12-Feb-14 22:00 
AnswerRe: RegEx problem with Escape sequences Pin
Marco Bertschi12-Feb-14 22:27
protectorMarco Bertschi12-Feb-14 22:27 
GeneralRe: RegEx problem with Escape sequences Pin
Kornfeld Eliyahu Peter13-Feb-14 2:22
professionalKornfeld Eliyahu Peter13-Feb-14 2:22 
GeneralRe: RegEx problem with Escape sequences Pin
Marco Bertschi13-Feb-14 2:47
protectorMarco Bertschi13-Feb-14 2:47 
GeneralRe: RegEx problem with Escape sequences Pin
Kornfeld Eliyahu Peter13-Feb-14 3:01
professionalKornfeld Eliyahu Peter13-Feb-14 3:01 

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.