Click here to Skip to main content
15,885,921 members
Home / Discussions / C#
   

C#

 
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 
GeneralRe: Region hit test Pin
mav.northwind25-May-05 2:54
mav.northwind25-May-05 2:54 
GeneralRe: Region hit test Pin
MandMG25-May-05 3:05
MandMG25-May-05 3:05 
GeneralRijndael encryption with .Net and decryption with native class Pin
hubbobubbo25-May-05 2:40
hubbobubbo25-May-05 2:40 
GeneralApplication for PDA barcode scanner Pin
verma-rahul25-May-05 2:20
verma-rahul25-May-05 2:20 
Generalconversion of db file in to csv file Pin
shashank veerkar25-May-05 0:53
shashank veerkar25-May-05 0:53 
GeneralRe: conversion of db file in to csv file Pin
rudy.net25-May-05 3:14
rudy.net25-May-05 3:14 
QuestionActiveX EXE equivalent? Pin
25-May-05 0:15
suss25-May-05 0:15 

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.