T
todomati
Guest
Hi Together
Could someone help me to Group this line (-l System -p 0 -r 10 -k "Log Files from Test" -z 35 -s server-dep-102) in Groups but pair based.
On example
-l System
-p 0
-r 10
-k "Log Files from Test"
and so on.....
i have this regex pattern for it whcich goes only until first dash - in server-dep-102 and not to the and of the word.
I know that this happend because of this [^-]* in pattern but i dont know how to avoid it and to match hole word which contain dash in it.
regpattern = @"-[a-z]('[^']*'|( [^-]*)?)"
inputstring = -l System -p 0 -r 10 -k "Log Files from Test" -z 35 -s server-dep-102
Thanks in advance for your help
Continue reading...
Could someone help me to Group this line (-l System -p 0 -r 10 -k "Log Files from Test" -z 35 -s server-dep-102) in Groups but pair based.
On example
-l System
-p 0
-r 10
-k "Log Files from Test"
and so on.....
i have this regex pattern for it whcich goes only until first dash - in server-dep-102 and not to the and of the word.
I know that this happend because of this [^-]* in pattern but i dont know how to avoid it and to match hole word which contain dash in it.
regpattern = @"-[a-z]('[^']*'|( [^-]*)?)"
inputstring = -l System -p 0 -r 10 -k "Log Files from Test" -z 35 -s server-dep-102
Thanks in advance for your help
Continue reading...