Click here to Skip to main content
15,893,588 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: Click on disabled control Pin
Dave Kreskowiak25-Oct-07 1:45
mveDave Kreskowiak25-Oct-07 1:45 
GeneralRe: Click on disabled control Pin
topcatalpha25-Oct-07 2:07
topcatalpha25-Oct-07 2:07 
GeneralRe: Click on disabled control Pin
Dave Kreskowiak25-Oct-07 13:01
mveDave Kreskowiak25-Oct-07 13:01 
GeneralRe: Click on disabled control Pin
topcatalpha25-Oct-07 21:06
topcatalpha25-Oct-07 21:06 
GeneralRe: Click on disabled control Pin
Dave Kreskowiak26-Oct-07 2:27
mveDave Kreskowiak26-Oct-07 2:27 
GeneralRe: Click on disabled control Pin
topcatalpha26-Oct-07 2:55
topcatalpha26-Oct-07 2:55 
GeneralRegEx Question: Matching a Quoted String Pin
Brady Kelly24-Oct-07 1:01
Brady Kelly24-Oct-07 1:01 
GeneralRe: RegEx Question: Matching a Quoted String Pin
TJoe24-Oct-07 2:38
TJoe24-Oct-07 2:38 
You would need to make the .* non-greedy by adding a ?, like so:

['"].*?['"]

But this would match: "This has differing quotes'

So you would need to break it out to separate items:

(?:["].*?["]|['].*?['])

Or you could use a back-reference like so:

(?<1>['"]).*?\1

Basically, \1 traslate into what ever was captured by the first parenthesis.

If you need to provide an escape for quotes, so you can have a double quote inside double-quotes (e.g. "This is a \" test"), then you would need to do this:

(?<1>['"])(?:\\\1|.)*?\1

In this one, we want to check for the escaped quote in the "content".


Take care,
Tom

-----------------------------------------------
Check out my blog at http://tjoe.wordpress.com

GeneralRe: RegEx Question: Matching a Quoted String Pin
Brady Kelly24-Oct-07 3:09
Brady Kelly24-Oct-07 3:09 
GeneralRe: RegEx Question: Matching a Quoted String Pin
TJoe24-Oct-07 3:54
TJoe24-Oct-07 3:54 
GeneralRe: RegEx Question: Matching a Quoted String Pin
Brady Kelly24-Oct-07 4:03
Brady Kelly24-Oct-07 4:03 
QuestionSystem Databse Path CR XI R2 .NET Pin
rturner00323-Oct-07 21:56
rturner00323-Oct-07 21:56 
QuestionFiring events from COM to .NET, leaks problems!!! Pin
jonnynolimits23-Oct-07 21:11
jonnynolimits23-Oct-07 21:11 
QuestionDataGridView V Scroll trouble Pin
MDem23-Oct-07 19:53
MDem23-Oct-07 19:53 
AnswerRe: DataGridView V Scroll trouble Pin
MDem24-Oct-07 0:07
MDem24-Oct-07 0:07 
Questionupload image file from mobile devices to server using vb.net cf Pin
jasmine112623-Oct-07 17:35
jasmine112623-Oct-07 17:35 
QuestionHow to run EXE thru network in VB .NET 2005 Pin
kkb_200122-Oct-07 23:22
kkb_200122-Oct-07 23:22 
AnswerRe: How to run EXE thru network in VB .NET 2005 Pin
kubben24-Oct-07 2:02
kubben24-Oct-07 2:02 
QuestionData Grid in visual studio 2005 error Pin
solarthur0122-Oct-07 11:57
solarthur0122-Oct-07 11:57 
AnswerRe: Data Grid in visual studio 2005 error Pin
tim63723-Oct-07 5:52
tim63723-Oct-07 5:52 
QuestionPost a html fields to a specific url????????? Pin
Nithin Krishna21-Oct-07 21:10
Nithin Krishna21-Oct-07 21:10 
AnswerRe: Post a html fields to a specific url????????? Pin
SHatchard23-Oct-07 20:50
SHatchard23-Oct-07 20:50 
Questiongive opened website Pin
microgroup21-Oct-07 19:26
microgroup21-Oct-07 19:26 
QuestionRe: give opened website Pin
Vasudevan Deepak Kumar22-Oct-07 2:45
Vasudevan Deepak Kumar22-Oct-07 2:45 
AnswerRe: give opened website Pin
Scott Dorman23-Oct-07 7:24
professionalScott Dorman23-Oct-07 7:24 

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.