Click here to Skip to main content
15,892,298 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: RECOTD Pin
OriginalGriff20-Mar-14 0:53
mveOriginalGriff20-Mar-14 0:53 
GeneralRe: RECOTD Pin
Marco Bertschi20-Mar-14 0:31
protectorMarco Bertschi20-Mar-14 0:31 
GeneralRe: RECOTD Pin
Rage20-Mar-14 0:39
professionalRage20-Mar-14 0:39 
GeneralRe: RECOTD Pin
OriginalGriff20-Mar-14 0:47
mveOriginalGriff20-Mar-14 0:47 
GeneralRe: RECOTD Pin
Marco Bertschi20-Mar-14 0:52
protectorMarco Bertschi20-Mar-14 0:52 
GeneralRe: RECOTD Pin
OriginalGriff20-Mar-14 1:00
mveOriginalGriff20-Mar-14 1:00 
GeneralRe: RECOTD Pin
Marco Bertschi20-Mar-14 1:48
protectorMarco Bertschi20-Mar-14 1:48 
GeneralRe: RECOTD Pin
Kornfeld Eliyahu Peter20-Mar-14 2:07
professionalKornfeld Eliyahu Peter20-Mar-14 2:07 
OG's solution is nice but not exactly what you need...
First \w is declared in regex as [a-zA-Z0-9]. Are you sure your key can have numbers in it?
The value part can be anything (dot (.) not \w) but = must be escaped. Here OG is really far from it... (Sorry OG Smile | :) ).
After that can be an some whitespace and again a key-value pair, endlessly...And here the really catch! How do you know you got the next key-value pair? If value can have un-escaped whitespaces?

So - start again OG!!!
I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is. (V)


modified 20-Mar-14 8:26am.

GeneralRe: RECOTD Pin
Kenneth Haugland20-Mar-14 10:45
mvaKenneth Haugland20-Mar-14 10:45 
GeneralRe: RECOTD Pin
OriginalGriff20-Mar-14 10:50
mveOriginalGriff20-Mar-14 10:50 
GeneralRe: RECOTD Pin
Kenneth Haugland20-Mar-14 11:15
mvaKenneth Haugland20-Mar-14 11:15 
GeneralRe: RECOTD Pin
Kenneth Haugland20-Mar-14 0:58
mvaKenneth Haugland20-Mar-14 0:58 
GeneralRe: RECOTD Pin
Marco Bertschi20-Mar-14 1:50
protectorMarco Bertschi20-Mar-14 1:50 
GeneralRe: RECOTD Pin
Kenneth Haugland20-Mar-14 11:45
mvaKenneth Haugland20-Mar-14 11:45 
GeneralRe: RECOTD Pin
Rob Grainger20-Mar-14 1:52
Rob Grainger20-Mar-14 1:52 
GeneralRe: RECOTD Pin
Marco Bertschi20-Mar-14 2:10
protectorMarco Bertschi20-Mar-14 2:10 
GeneralCCC 20/3/14 Pin
Dalek Dave19-Mar-14 22:49
professionalDalek Dave19-Mar-14 22:49 
GeneralRe: CCC 20/3/14 Pin
Mohamad M. Mohamad19-Mar-14 23:50
Mohamad M. Mohamad19-Mar-14 23:50 
GeneralRe: CCC 20/3/14 Pin
Dalek Dave19-Mar-14 23:56
professionalDalek Dave19-Mar-14 23:56 
GeneralRe: CCC 20/3/14 Solution Pin
Mohamad M. Mohamad20-Mar-14 0:24
Mohamad M. Mohamad20-Mar-14 0:24 
GeneralRe: CCC 20/3/14 Solution Pin
OriginalGriff20-Mar-14 0:33
mveOriginalGriff20-Mar-14 0:33 
GeneralRe: CCC 20/3/14 Solution Pin
Rage20-Mar-14 0:42
professionalRage20-Mar-14 0:42 
GeneralRe: CCC 20/3/14 Solution Pin
OriginalGriff20-Mar-14 0:52
mveOriginalGriff20-Mar-14 0:52 
GeneralRe: CCC 20/3/14 Solution Pin
Mohamad M. Mohamad20-Mar-14 0:57
Mohamad M. Mohamad20-Mar-14 0:57 
GeneralRe: CCC 20/3/14 Solution Pin
OriginalGriff20-Mar-14 1:02
mveOriginalGriff20-Mar-14 1:02 

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.