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

C#

 
GeneralRe: Regular Expressions Pin
Heath Stewart7-Jan-04 9:30
protectorHeath Stewart7-Jan-04 9:30 
^\d{5}(\.\d{2})?$

You didn't escape ".". Without escaping, this means that it matches any character or none. For instance, to match any 5 characters, you could use .{5}.

 

-----BEGIN GEEK CODE BLOCK-----
Version: 3.21
GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++
-----END GEEK CODE BLOCK-----
GeneralRe: Regular Expressions Pin
Member 8054957-Jan-04 9:55
Member 8054957-Jan-04 9:55 
GeneralRe: Regular Expressions Pin
Kentamanos7-Jan-04 11:08
Kentamanos7-Jan-04 11:08 
GeneralRe: Regular Expressions Pin
Heath Stewart7-Jan-04 11:11
protectorHeath Stewart7-Jan-04 11:11 
GeneralRe: Regular Expressions Pin
Eric Gunnerson (msft)7-Jan-04 9:55
Eric Gunnerson (msft)7-Jan-04 9:55 
GeneralRe: Regular Expressions Pin
Member 8054957-Jan-04 9:58
Member 8054957-Jan-04 9:58 
QuestionHow Windows works... Pin
profoundwhispers7-Jan-04 7:40
profoundwhispers7-Jan-04 7:40 
AnswerRe: How Windows works... Pin
Mazdak7-Jan-04 7:49
Mazdak7-Jan-04 7:49 
GeneralRe: How Windows works... Pin
profoundwhispers7-Jan-04 7:51
profoundwhispers7-Jan-04 7:51 
GeneralRe: How Windows works... Pin
Mazdak7-Jan-04 8:16
Mazdak7-Jan-04 8:16 
AnswerRe: How Windows works... Pin
pseudonym677-Jan-04 8:21
pseudonym677-Jan-04 8:21 
GeneralRe: How Windows works... Pin
bnieland8-Jan-04 6:55
bnieland8-Jan-04 6:55 
AnswerRe: How Windows works... Pin
Heath Stewart7-Jan-04 9:20
protectorHeath Stewart7-Jan-04 9:20 
AnswerRe: How Windows works... Pin
Kentamanos7-Jan-04 9:44
Kentamanos7-Jan-04 9:44 
GeneralRe: How Windows works... Pin
profoundwhispers8-Jan-04 11:47
profoundwhispers8-Jan-04 11:47 
GeneralRe: How Windows works... Pin
Kentamanos8-Jan-04 12:03
Kentamanos8-Jan-04 12:03 
AnswerRe: How Windows works... Pin
Eric Gunnerson (msft)7-Jan-04 9:57
Eric Gunnerson (msft)7-Jan-04 9:57 
AnswerRe: How Windows works... Pin
Norman Fung7-Jan-04 10:44
Norman Fung7-Jan-04 10:44 
GeneralRead a row from dataGrid Pin
dophka7-Jan-04 4:48
dophka7-Jan-04 4:48 
GeneralRe: Read a row from dataGrid Pin
Mazdak7-Jan-04 5:18
Mazdak7-Jan-04 5:18 
GeneralRe: Read a row from dataGrid Pin
KevinMac7-Jan-04 5:33
KevinMac7-Jan-04 5:33 
GeneralDirectX HELL Pin
thomasa7-Jan-04 3:13
thomasa7-Jan-04 3:13 
GeneralRe: DirectX HELL Pin
Stephane Rodriguez.7-Jan-04 3:29
Stephane Rodriguez.7-Jan-04 3:29 
GeneralRe: DirectX HELL Pin
Heath Stewart7-Jan-04 3:31
protectorHeath Stewart7-Jan-04 3:31 
GeneralRe: DirectX HELL fixed Pin
thomasa7-Jan-04 23:40
thomasa7-Jan-04 23:40 

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.