Click here to Skip to main content
15,891,905 members
Home / Discussions / C#
   

C#

 
GeneralRe: Remoting !!! Please help Pin
AcidProject25-May-05 8:33
AcidProject25-May-05 8:33 
GeneralRe: Remoting !!! Please help Pin
Brian Van Beek25-May-05 11:14
Brian Van Beek25-May-05 11:14 
GeneralShow special signs in listbox Pin
Snowjim25-May-05 6:40
Snowjim25-May-05 6:40 
GeneralRe: Show special signs in listbox Pin
Snowjim25-May-05 7:08
Snowjim25-May-05 7:08 
QuestionHow to download mail from POP3 server in C# Pin
rupali_des25-May-05 6:30
rupali_des25-May-05 6:30 
QuestionHow do i save a stream Pin
Anthony Mushrow25-May-05 6:21
professionalAnthony Mushrow25-May-05 6:21 
AnswerRe: How do i save a stream Pin
pubududilena25-May-05 22:18
pubududilena25-May-05 22:18 
GeneralRe: How do i save a stream Pin
Anthony Mushrow26-May-05 1:36
professionalAnthony Mushrow26-May-05 1:36 
GeneralHistory List in TextBox Pin
ravalosv25-May-05 6:13
ravalosv25-May-05 6:13 
GeneralRe: History List in TextBox Pin
John Fisher25-May-05 8:07
John Fisher25-May-05 8:07 
GeneralRe: History List in TextBox Pin
ravalosv25-May-05 12:21
ravalosv25-May-05 12:21 
GeneralRegex Help please Pin
J4amieC25-May-05 5:39
J4amieC25-May-05 5:39 
GeneralRe: Regex Help please Pin
Bitwise Gamgee25-May-05 7:53
Bitwise Gamgee25-May-05 7:53 
GeneralRe: Regex Help please Pin
J4amieC25-May-05 22:04
J4amieC25-May-05 22:04 
GeneralRe: Regex Help please Pin
John Fisher25-May-05 8:04
John Fisher25-May-05 8:04 
You're probably out of luck, without using a slightly different approach. There are two ways for a regular expression to match things. Either take the smallest bit that matches, or take the largest string that matches. Either way, you'll end up with the wrong information, if your row looked like something[@myVar1='my apostrophe'd val'][@mayVar2='myVal2']. The non-greedy search would find what you've already discovered, while the second would include both variables in the one string.

It is possible, with some work, that you could turn on the greedy string matching, and then modify the expression to never include '[' or ']' characters. But, I don't know enough about your setup to discern whether that would really be a viable option.

John

"You said a whole sentence with no words in it, and I understood you!" -- my wife as she cries about slowly becoming a geek.

GeneralAdd an icon to the form bar to reduce to systemtray icon Pin
Sasuko25-May-05 5:24
Sasuko25-May-05 5:24 
GeneralCreating CHM Tool Pin
r0ssta25-May-05 5:22
r0ssta25-May-05 5:22 
Generalproblem with Image.Save : EncoderParameter(ColorDepth, ??) Pin
kyfranBibax25-May-05 5:11
kyfranBibax25-May-05 5:11 
Generalswitched from VB Pin
Anonymous25-May-05 5:09
Anonymous25-May-05 5:09 
GeneralRe: switched from VB Pin
Stefan Troschuetz25-May-05 5:28
Stefan Troschuetz25-May-05 5:28 
GeneralNUnit -- Testing separate files Pin
vcfirth25-May-05 4:01
vcfirth25-May-05 4:01 
GeneralIEnumerator<> and IDisposable? (VS2005) Pin
Jon Hulatt25-May-05 3:54
Jon Hulatt25-May-05 3:54 
GeneralRe: IEnumerator<> and IDisposable? (VS2005) Pin
Judah Gabriel Himango25-May-05 4:10
sponsorJudah Gabriel Himango25-May-05 4:10 
GeneralHaving trouble with custom combo box Pin
Flack25-May-05 3:45
Flack25-May-05 3:45 
GeneralRegion hit test Pin
MandMG25-May-05 2:46
MandMG25-May-05 2:46 

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.