Click here to Skip to main content
15,913,669 members
Home / Discussions / C#
   

C#

 
GeneralDial Up Pin
deanoA5-Aug-03 14:44
deanoA5-Aug-03 14:44 
QuestionHow to do partial Regex matching? Pin
Alvaro Mendez5-Aug-03 12:04
Alvaro Mendez5-Aug-03 12:04 
I'm trying to use the Regex class to evaluate data entered by the user. However, since I'm doing the evaluation as the user types, I'd like the match to be successful even if all the data has not been entered yet.

For example, if I have:

Regex re = Regex("abcd");

And the user enters:

ab


I want re.IsMatch("ab") to be successful. Yes I know it's not a true match, but it's only because there's insufficient data. Is there an easy way to know this?

Thanks in advance!
Alvaro


If you want to get to the top, prepare to kiss a lot of bottom. -- despair.com
AnswerRe: How to do partial Regex matching? Pin
Arun Bhalla5-Aug-03 13:38
Arun Bhalla5-Aug-03 13:38 
AnswerRe: How to do partial Regex matching? Pin
Julian Bucknall [MSFT]5-Aug-03 14:42
Julian Bucknall [MSFT]5-Aug-03 14:42 
GeneralSet the currentcell doesnt work in form load Pin
Ista5-Aug-03 9:50
Ista5-Aug-03 9:50 
GeneralRe: Set the currentcell doesnt work in form load Pin
Marc Clifton5-Aug-03 14:13
mvaMarc Clifton5-Aug-03 14:13 
GeneralRe: Set the currentcell doesnt work in form load Pin
Furty5-Aug-03 16:37
Furty5-Aug-03 16:37 
GeneralRe: Set the currentcell doesnt work in form load Pin
Ista6-Aug-03 4:25
Ista6-Aug-03 4:25 
GeneralContainter like controls Pin
Alex Korchemniy5-Aug-03 9:32
Alex Korchemniy5-Aug-03 9:32 
GeneralRe: Containter like controls Pin
Ista5-Aug-03 9:46
Ista5-Aug-03 9:46 
GeneralRe: Containter like controls Pin
Alex Korchemniy5-Aug-03 13:48
Alex Korchemniy5-Aug-03 13:48 
GeneralRe: Containter like controls Pin
Marc Clifton5-Aug-03 14:22
mvaMarc Clifton5-Aug-03 14:22 
GeneralRe: Containter like controls Pin
Alex Korchemniy5-Aug-03 18:25
Alex Korchemniy5-Aug-03 18:25 
GeneralRe: Containter like controls Pin
Furty5-Aug-03 14:19
Furty5-Aug-03 14:19 
QuestionWhat is the @ for? Pin
Alvaro Mendez5-Aug-03 8:45
Alvaro Mendez5-Aug-03 8:45 
AnswerRe: What is the @ for? Pin
mikemilano5-Aug-03 8:48
mikemilano5-Aug-03 8:48 
GeneralRe: What is the @ for? Pin
Eric Gunnerson (msft)5-Aug-03 9:06
Eric Gunnerson (msft)5-Aug-03 9:06 
GeneralRe: What is the @ for? Pin
Alvaro Mendez5-Aug-03 9:27
Alvaro Mendez5-Aug-03 9:27 
GeneralRe: What is the @ for? Pin
J. Dunlap5-Aug-03 9:31
J. Dunlap5-Aug-03 9:31 
GeneralControl painting Pin
Alex Korchemniy5-Aug-03 8:18
Alex Korchemniy5-Aug-03 8:18 
GeneralRe: Control painting Pin
J. Dunlap5-Aug-03 8:42
J. Dunlap5-Aug-03 8:42 
GeneralRe: Control painting Pin
Alex Korchemniy5-Aug-03 9:31
Alex Korchemniy5-Aug-03 9:31 
GeneralRe: Control painting Pin
Arun Bhalla5-Aug-03 10:15
Arun Bhalla5-Aug-03 10:15 
GeneralRe: Control painting Pin
Nick Parker5-Aug-03 17:33
protectorNick Parker5-Aug-03 17:33 
GeneralRe: Control painting Pin
Csharp™6-Aug-03 0:23
Csharp™6-Aug-03 0:23 

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.