Click here to Skip to main content
15,915,975 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.

 
QuestionRe: RECOTD Pin
Kornfeld Eliyahu Peter19-Mar-14 23:58
professionalKornfeld Eliyahu Peter19-Mar-14 23:58 
AnswerRe: RECOTD Pin
Marco Bertschi20-Mar-14 0:33
protectorMarco Bertschi20-Mar-14 0:33 
GeneralRe: RECOTD Pin
OriginalGriff20-Mar-14 0:03
mveOriginalGriff20-Mar-14 0:03 
GeneralRe: RECOTD Pin
Rage20-Mar-14 0:09
professionalRage20-Mar-14 0:09 
GeneralRe: RECOTD Pin
OriginalGriff20-Mar-14 0:17
mveOriginalGriff20-Mar-14 0:17 
GeneralRe: RECOTD Pin
OriginalGriff20-Mar-14 0:07
mveOriginalGriff20-Mar-14 0:07 
GeneralRe: RECOTD Pin
Mike Hankey20-Mar-14 0:27
mveMike Hankey20-Mar-14 0:27 
GeneralRe: RECOTD Pin
OriginalGriff20-Mar-14 0:42
mveOriginalGriff20-Mar-14 0:42 
One of the things I like about Expresso [^] is that you can tell it to ignore whitespace in the input string, so you can break the input into "phrases" - each on a signle line. If you do that:
(\w+)
(?:\=)
([\w\s\\]+\=\w+)
(?:\s)
(\w+)
(?:\=)
(\w+)
It all looks easier:
(\w+)               Any alphanumeric, one or more
(?:\=)              Match an equals, but ignore it
([\w\s\\]+\=\w+)    One or more alphanumeric, whitespace or '\' characters, a single equals sign, 
                       then one or more alphanumeric again
(?:\s)              Match whitespace, and ignore it
(\w+)               Any alphanumeric, one or more again
(?:\=)              Ignore another equals
(\w+)               And finally any alphanumeric, one or more

Those who fail to learn history are doomed to repeat it. --- George Santayana (December 16, 1863 – September 26, 1952)
Those who fail to clear history are doomed to explain it. --- OriginalGriff (February 24, 1959 – ∞)

GeneralRe: RECOTD Pin
Mike Hankey20-Mar-14 0:46
mveMike Hankey20-Mar-14 0:46 
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 
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 

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.