Click here to Skip to main content
15,032,623 members
Home / Discussions / Regular Expressions
   

Regular Expressions

 
QuestionForming reguar expressions using a builder class? Pin
Sander Rossel8-Apr-11 2:13
professionalSander Rossel8-Apr-11 2:13 
AnswerRe: Forming reguar expressions using a builder class? Pin
User 17164928-Apr-11 2:40
professionalUser 17164928-Apr-11 2:40 
GeneralRe: Forming reguar expressions using a builder class? Pin
Sander Rossel8-Apr-11 8:54
professionalSander Rossel8-Apr-11 8:54 
AnswerRe: Forming reguar expressions using a builder class? Pin
PIEBALDconsult22-May-11 3:27
professionalPIEBALDconsult22-May-11 3:27 
QuestionNegative regular expression Pin
Łukasz Nowakowski4-Apr-11 22:11
MemberŁukasz Nowakowski4-Apr-11 22:11 
AnswerRe: Negative regular expression Pin
Peter_in_27804-Apr-11 23:42
professionalPeter_in_27804-Apr-11 23:42 
GeneralRe: Negative regular expression Pin
Łukasz Nowakowski5-Apr-11 0:09
MemberŁukasz Nowakowski5-Apr-11 0:09 
AnswerRe: Negative regular expression Pin
dasblinkenlight5-Apr-11 2:47
Memberdasblinkenlight5-Apr-11 2:47 
I know this is probably not the answer you are looking for, but you can add a third column to your table of type boolean. Then you can make decisions to allow or deny access to functionality-X based on the content of your regexp and the flag: if the flag is set, the expression must match in order for the functionality to be available; if the flag is not set, the expression must not match in order for the functionality to be available. In other words, functionality is available only when regexp.IsMatch is equal to the flag from the table. This will improve your maintainability as well, because the target regexps will be a lot more readable.
GeneralRe: Negative regular expression Pin
Łukasz Nowakowski5-Apr-11 2:51
MemberŁukasz Nowakowski5-Apr-11 2:51 
QuestionPattern Pin
byka9-Mar-11 2:20
Memberbyka9-Mar-11 2:20 
QuestionRe: Pattern Pin
Luc Pattyn9-Mar-11 2:41
sitebuilderLuc Pattyn9-Mar-11 2:41 
AnswerRe: Pattern Pin
Pete O'Hanlon9-Mar-11 2:54
mvePete O'Hanlon9-Mar-11 2:54 
GeneralRe: Pattern Pin
byka9-Mar-11 3:13
Memberbyka9-Mar-11 3:13 
GeneralRe: Pattern Pin
Pete O'Hanlon9-Mar-11 3:26
mvePete O'Hanlon9-Mar-11 3:26 
GeneralRe: Pattern Pin
byka9-Mar-11 3:30
Memberbyka9-Mar-11 3:30 
GeneralRe: Pattern Pin
Pete O'Hanlon9-Mar-11 4:02
mvePete O'Hanlon9-Mar-11 4:02 
GeneralRe: Pattern Pin
byka9-Mar-11 4:29
Memberbyka9-Mar-11 4:29 
AnswerRe: Pattern Pin
Luc Pattyn9-Mar-11 3:19
sitebuilderLuc Pattyn9-Mar-11 3:19 
GeneralRe: Pattern Pin
byka9-Mar-11 3:36
Memberbyka9-Mar-11 3:36 
AnswerRe: Pattern Pin
Luc Pattyn9-Mar-11 3:55
sitebuilderLuc Pattyn9-Mar-11 3:55 
GeneralRe: Pattern Pin
musefan4-Apr-11 2:55
Membermusefan4-Apr-11 2:55 
GeneralRe: Pattern Pin
Luc Pattyn4-Apr-11 3:38
sitebuilderLuc Pattyn4-Apr-11 3:38 
GeneralRe: Pattern Pin
musefan4-Apr-11 4:03
Membermusefan4-Apr-11 4:03 
AnswerRe: Pattern Pin
Shahan Ayyub23-Aug-11 11:13
MemberShahan Ayyub23-Aug-11 11:13 
QuestionRegex in DataAnnotations that can unmatch a input string containing not paired double quote " Pin
stevecwlee28-Feb-11 16:31
Memberstevecwlee28-Feb-11 16: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.