Click here to Skip to main content
15,881,882 members
Home / Discussions / Regular Expressions
   

Regular Expressions

 
GeneralRe: Pattern Pin
byka9-Mar-11 3:30
byka9-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
byka9-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
byka9-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
musefan4-Apr-11 2:55 
GeneralRe: Pattern Pin
Luc Pattyn4-Apr-11 3:38
sitebuilderLuc Pattyn4-Apr-11 3:38 
Wrong.

if it is to be a string literal (not stated explicitly), then it would be OK in some languages such as VB.NET (not specified), it would not be OK in some others such as C, and it would be OK in C# only when using a preceeding @ sign or doubling the \.

And that is exactly why I didn't put any double quotes at all, I only specified what the content of the string had to be. I trust people know their programming language of choice well enough to turn that into a string literal if that is what they need.

Smile | :)
Luc Pattyn [Forum Guidelines] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, they preserve indentation, improve readability, and make me actually look at the code.

GeneralRe: Pattern Pin
musefan4-Apr-11 4:03
musefan4-Apr-11 4:03 
AnswerRe: Pattern Pin
Shahan Ayyub23-Aug-11 11:13
Shahan 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
stevecwlee28-Feb-11 16:31 
AnswerRe: Regex in DataAnnotations that can unmatch a input string containing not paired double quote " Pin
Captain Ketchup4-Apr-11 1:40
Captain Ketchup4-Apr-11 1:40 
Questionxml regex (for php) Pin
fdsfsa76f7sa611-Nov-10 9:12
fdsfsa76f7sa611-Nov-10 9:12 
AnswerRe: xml regex (for php) Pin
AspDotNetDev11-Nov-10 10:28
protectorAspDotNetDev11-Nov-10 10:28 
GeneralRe: xml regex (for php) Pin
fdsfsa76f7sa611-Nov-10 11:08
fdsfsa76f7sa611-Nov-10 11:08 
QuestionExpression needed Pin
Mazdak5-Sep-10 16:22
Mazdak5-Sep-10 16:22 
AnswerCross-post Pin
Luc Pattyn5-Sep-10 16:54
sitebuilderLuc Pattyn5-Sep-10 16:54 
AnswerRe: Expression needed Pin
OriginalGriff6-Sep-10 1:27
mveOriginalGriff6-Sep-10 1:27 
Questionhtml tag finder Pin
moein.serpico14-Aug-10 23:14
moein.serpico14-Aug-10 23:14 
AnswerRe: html tag finder Pin
PIEBALDconsult15-Aug-10 8:19
mvePIEBALDconsult15-Aug-10 8:19 
AnswerRe: html tag finder Pin
OriginalGriff15-Aug-10 8:31
mveOriginalGriff15-Aug-10 8:31 
GeneralRe: html tag finder Pin
AspDotNetDev26-Sep-10 9:29
protectorAspDotNetDev26-Sep-10 9:29 
AnswerRe: html tag finder Pin
AspDotNetDev26-Sep-10 9:28
protectorAspDotNetDev26-Sep-10 9:28 
AnswerRe: html tag finder Pin
Hiren solanki17-Dec-10 0:40
Hiren solanki17-Dec-10 0:40 
QuestionDifferences between matches with same RegEx [modified] Pin
RichardGrimmer6-Aug-10 0:00
RichardGrimmer6-Aug-10 0:00 

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.