Click here to Skip to main content
15,887,746 members
Home / Discussions / C#
   

C#

 
QuestionHow to paint a rotate rectangle in form? Pin
summercoal21-Mar-06 4:33
summercoal21-Mar-06 4:33 
Questioninterop programming Pin
V.21-Mar-06 3:58
professionalV.21-Mar-06 3:58 
AnswerRe: interop programming Pin
leppie21-Mar-06 7:00
leppie21-Mar-06 7:00 
GeneralRe: interop programming Pin
V.21-Mar-06 20:15
professionalV.21-Mar-06 20:15 
AnswerRe: interop programming Pin
Judah Gabriel Himango21-Mar-06 8:23
sponsorJudah Gabriel Himango21-Mar-06 8:23 
GeneralRe: interop programming Pin
V.21-Mar-06 20:16
professionalV.21-Mar-06 20:16 
QuestionADO.NET Encrypted data Pin
gmhanna21-Mar-06 3:28
gmhanna21-Mar-06 3:28 
QuestionRegex question - how to match crc checksum Pin
daniilzol21-Mar-06 3:26
daniilzol21-Mar-06 3:26 
Hi,

I'm realtively new to regex expressions and I'm trying to make the best out of documentation, however I don't know how to go on about this one.

I want to match crc checksum enclosed in square brackets. The best I can come up with based on documentation and expresso examples is this:
(?<=(?:\[))[a-fA-F0-9]{8}(?=(?:\]))(?x)

The problem is that I want to make it a little more foolproof. Is it possible to check if the expression inside the square brackets has at least two numbers AND at least two characters AND has a total length of 8? Is it possible at all?


PS a little side question, not related to the main one. MSDN says that [0-9]^4 will match any 4 digit sequences, however when I try it out in expresso it doesn't work... In fact it doesn't appear to work at all (except as a part of negation in a set).

PPS actually I have another side question. I also match quoted expressions. Documentation says :q should match it, which is equivalent to (("[^"]*")|('[^']*')). However neither :q nor \q work for me, however if I put it in explicit form (("[^"]*")|('[^']*')) it does. What am I doing wrong?


Thanks, JJR

-- modified at 9:29 Tuesday 21st March, 2006
QuestionUpdating DataTable Pin
zaboboa21-Mar-06 3:07
zaboboa21-Mar-06 3:07 
Questionprivate chat web-application in c# using socket programming Pin
shabeer.ak21-Mar-06 2:15
shabeer.ak21-Mar-06 2:15 
AnswerRe: private chat web-application in c# using socket programming Pin
Anil C21-Mar-06 2:43
Anil C21-Mar-06 2:43 
GeneralRe: private chat web-application in c# using socket programming Pin
shabeer.ak21-Mar-06 17:00
shabeer.ak21-Mar-06 17:00 
GeneralRe: private chat web-application in c# using socket programming Pin
Anil C22-Mar-06 2:53
Anil C22-Mar-06 2:53 
Questiontapi3 Pin
hafz21-Mar-06 1:19
hafz21-Mar-06 1:19 
AnswerRe: tapi3 Pin
Michael P Butler21-Mar-06 3:28
Michael P Butler21-Mar-06 3:28 
QuestionHow to open new form Pin
Areff21-Mar-06 1:18
Areff21-Mar-06 1:18 
AnswerRe: How to open new form Pin
Nicholas Butler21-Mar-06 1:37
sitebuilderNicholas Butler21-Mar-06 1:37 
AnswerRe: How to open new form Pin
Brett Slaski21-Mar-06 1:40
Brett Slaski21-Mar-06 1:40 
GeneralRe: How to open new form Pin
J4amieC21-Mar-06 2:21
J4amieC21-Mar-06 2:21 
GeneralRe: How to open new form Pin
Brett Slaski25-Mar-06 18:57
Brett Slaski25-Mar-06 18:57 
AnswerRe: How to open new form Pin
Divyang Mithaiwala21-Mar-06 2:22
Divyang Mithaiwala21-Mar-06 2:22 
QuestionStrange Problem with UltraWinGrid ButtonColumn Pin
Mukesh Kumar Gupta21-Mar-06 1:14
Mukesh Kumar Gupta21-Mar-06 1:14 
AnswerRe: Strange Problem with UltraWinGrid ButtonColumn Pin
leppie21-Mar-06 6:58
leppie21-Mar-06 6:58 
AnswerRe: Strange Problem with UltraWinGrid ButtonColumn Pin
LongRange.Shooter21-Mar-06 7:22
LongRange.Shooter21-Mar-06 7:22 
Questionstart.dll Pin
binaryfreak21-Mar-06 0:31
binaryfreak21-Mar-06 0:31 

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.