Click here to Skip to main content
15,913,854 members
Home / Discussions / C#
   

C#

 
GeneralRe: i am getting an error system.windows.navigationservices Pin
Pete O'Hanlon16-Sep-14 2:21
mvePete O'Hanlon16-Sep-14 2:21 
QuestionError while connecting to net connection in remote windows Pin
superselector16-Sep-14 1:33
superselector16-Sep-14 1:33 
AnswerRe: Error while connecting to net connection in remote windows Pin
OriginalGriff16-Sep-14 1:56
mveOriginalGriff16-Sep-14 1:56 
QuestionHide Main Menu and Toolbar Pin
AmbiguousName16-Sep-14 1:08
AmbiguousName16-Sep-14 1:08 
AnswerRe: Hide Main Menu and Toolbar Pin
OriginalGriff16-Sep-14 1:24
mveOriginalGriff16-Sep-14 1:24 
GeneralRe: Hide Main Menu and Toolbar Pin
AmbiguousName16-Sep-14 1:43
AmbiguousName16-Sep-14 1:43 
GeneralRe: Hide Main Menu and Toolbar Pin
OriginalGriff16-Sep-14 1:54
mveOriginalGriff16-Sep-14 1:54 
GeneralRe: Hide Main Menu and Toolbar Pin
OriginalGriff16-Sep-14 1:54
mveOriginalGriff16-Sep-14 1:54 
GeneralRe: Hide Main Menu and Toolbar Pin
AmbiguousName16-Sep-14 2:38
AmbiguousName16-Sep-14 2:38 
GeneralRe: Hide Main Menu and Toolbar Pin
Eddy Vluggen16-Sep-14 3:01
professionalEddy Vluggen16-Sep-14 3:01 
GeneralRe: Hide Main Menu and Toolbar Pin
Alan N16-Sep-14 5:28
Alan N16-Sep-14 5:28 
GeneralRe: Hide Main Menu and Toolbar Pin
Ravi Bhavnani16-Sep-14 2:39
professionalRavi Bhavnani16-Sep-14 2:39 
Questionproblem in a query Pin
Mohammad Kamali(mo_kml)15-Sep-14 23:06
Mohammad Kamali(mo_kml)15-Sep-14 23:06 
Questionerror to connect a class to the entity Pin
Mohammad Kamali(mo_kml)15-Sep-14 23:01
Mohammad Kamali(mo_kml)15-Sep-14 23:01 
QuestionI loose my time in config files Pin
Bastien Vandamme15-Sep-14 16:33
Bastien Vandamme15-Sep-14 16:33 
AnswerRe: I loose my time in config files Pin
Dave Kreskowiak15-Sep-14 17:37
mveDave Kreskowiak15-Sep-14 17:37 
AnswerRe: I loose my time in config files Pin
Kornfeld Eliyahu Peter15-Sep-14 19:39
professionalKornfeld Eliyahu Peter15-Sep-14 19:39 
AnswerRe: I loose my time in config files Pin
Pete O'Hanlon15-Sep-14 20:43
mvePete O'Hanlon15-Sep-14 20:43 
AnswerRe: I loose my time in config files Pin
Richard MacCutchan15-Sep-14 21:26
mveRichard MacCutchan15-Sep-14 21:26 
AnswerRe: I loose my time in config files Pin
OriginalGriff15-Sep-14 22:33
mveOriginalGriff15-Sep-14 22:33 
AnswerRe: I loose my time in config files Pin
V.15-Sep-14 22:53
professionalV.15-Sep-14 22:53 
Questionlisten connection to sql database Pin
GIANGPZO15-Sep-14 16:27
professionalGIANGPZO15-Sep-14 16:27 
AnswerRe: listen connection to sql database Pin
Wendelius15-Sep-14 17:56
mentorWendelius15-Sep-14 17:56 
GeneralRe: listen connection to sql database Pin
GIANGPZO17-Sep-14 16:36
professionalGIANGPZO17-Sep-14 16:36 
QuestionRegEx grouping question Pin
SledgeHammer0115-Sep-14 13:51
SledgeHammer0115-Sep-14 13:51 
My input text is:

"the quick ${var1:a=b,c=d,e=f} brown fox ${var2:g=h,i=j,k=l}"

var1,var2 is a "variable"
a=b is considered a "parameter".

I can have any number of variables in the input string
I can have from 0 to any parameters (i.e. ${var1} is allowed)

My end result is I want to split as:

var1|a|b|c|d|e|f for the first match
var2|g|h|i|j|k|l for the 2nd match

The regex I'm using is:

\${([A-Za-z]+)(: ([A-Za-z]+)=([A-Za-z0-9]+)(,([A-Za-z]+)=([A-Za-z0-9]+))*)*} <=== NO SPACE after the colon (preventing smiley)

Right now I'm getting:

var1|a|b|e|f (and a few other groups I don't care about), but for discussion, the full split is: |var1|:a=b,c=d,e=f|a|b|,e=f|e|f

The problem is, it's grouping a&b and e&f, but its skipping c&d for some reason... if I add a 4th parameter, now it skips e&f too. I.e. it only shows the FIRST and LAST param.

What's going on?

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.