Click here to Skip to main content
15,885,278 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Execute string command? Pin
Dave Kreskowiak24-Nov-04 10:26
mveDave Kreskowiak24-Nov-04 10:26 
GeneralRe: Execute string command? Pin
Pablo.ar25-Nov-04 2:39
Pablo.ar25-Nov-04 2:39 
GeneralRe: Execute string command? Pin
Dave Kreskowiak25-Nov-04 5:14
mveDave Kreskowiak25-Nov-04 5:14 
GeneralRe: Execute string command? Pin
Dennis C. Dietrich25-Nov-04 5:56
Dennis C. Dietrich25-Nov-04 5:56 
QuestionQuery Parser in VB? Pin
.NetRams24-Nov-04 0:49
.NetRams24-Nov-04 0:49 
AnswerRe: Query Parser in VB? Pin
Steven Campbell24-Nov-04 14:46
Steven Campbell24-Nov-04 14:46 
GeneralRe: Query Parser in VB? Pin
J4amieC25-Nov-04 4:12
J4amieC25-Nov-04 4:12 
GeneralRe: Query Parser in VB? Pin
Steven Campbell25-Nov-04 4:54
Steven Campbell25-Nov-04 4:54 
Yes of course, you're correct -- it's probably the simplest solution for this problem, and should work 99% of the time.

99% because regex is really good at handling patterns, but really bad at handling edge cases. For example, you can easily write a regex expression to detect some characters, followed by some other characters enclosed in ( ). However, what if someone uses a ( legitimately as part of the first set of characters. This is just one of many possible edge-cases.

You then have to modify your regex to handle that. Over time, the regex becomes huge and unreadable, and probably still not 100%.


my blog
QuestionSystem-wide CBT Hook in .NET? Pin
Hadi Fakhreddine23-Nov-04 23:01
Hadi Fakhreddine23-Nov-04 23:01 
GeneralNetware Purge command Pin
Ranoush23-Nov-04 21:13
Ranoush23-Nov-04 21:13 
GeneralRe: Netware Purge command Pin
Dave Kreskowiak24-Nov-04 1:37
mveDave Kreskowiak24-Nov-04 1:37 
GeneralRe: Netware Purge command Pin
Ranoush26-Nov-04 19:53
Ranoush26-Nov-04 19:53 
GeneralRe: Netware Purge command Pin
Dave Kreskowiak27-Nov-04 1:37
mveDave Kreskowiak27-Nov-04 1:37 
QuestionSilent installation? Pin
charleslau285523-Nov-04 20:44
charleslau285523-Nov-04 20:44 
AnswerRe: Silent installation? Pin
Ranoush23-Nov-04 21:26
Ranoush23-Nov-04 21:26 
GeneralRe: Silent installation? Pin
Anonymous24-Nov-04 16:12
Anonymous24-Nov-04 16:12 
GeneralPrinting through Windows Service Pin
Aqeel Baig23-Nov-04 20:40
Aqeel Baig23-Nov-04 20:40 
GeneralRe: Printing through Windows Service Pin
Dave Kreskowiak24-Nov-04 1:35
mveDave Kreskowiak24-Nov-04 1:35 
GeneralClass Object Initialization Timing Issue from ActiveX Server (EXE Server) in VB Pin
Steve Pullan23-Nov-04 13:51
Steve Pullan23-Nov-04 13:51 
GeneralSending mouse click signals Pin
Rylogy23-Nov-04 12:24
Rylogy23-Nov-04 12:24 
GeneralRe: Sending mouse click signals Pin
Purple Monk23-Nov-04 22:24
Purple Monk23-Nov-04 22:24 
Generalfill combo box with table items Pin
jlawren723-Nov-04 12:19
jlawren723-Nov-04 12:19 
GeneralRe: fill combo box with table items Pin
Pablo.ar24-Nov-04 2:56
Pablo.ar24-Nov-04 2:56 
GeneralRe: fill combo box with table items Pin
jlawren724-Nov-04 4:40
jlawren724-Nov-04 4:40 
GeneralRe: fill combo box with table items Pin
ccotton33324-Nov-04 6:51
ccotton33324-Nov-04 6:51 

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.