Click here to Skip to main content
15,893,508 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: This is cool. I figured out a neat thing Pin
W Balboos, GHB15-Dec-19 7:16
W Balboos, GHB15-Dec-19 7:16 
GeneralRe: This is cool. I figured out a neat thing Pin
phil.o15-Dec-19 7:27
professionalphil.o15-Dec-19 7:27 
GeneralRe: This is cool. I figured out a neat thing Pin
honey the codewitch15-Dec-19 7:49
mvahoney the codewitch15-Dec-19 7:49 
GeneralJust because you can doesn't mean you should. Pin
rjmoses14-Dec-19 11:28
professionalrjmoses14-Dec-19 11:28 
GeneralRe: Just because you can doesn't mean you should. PinPopular
Rick York14-Dec-19 11:54
mveRick York14-Dec-19 11:54 
GeneralRe: Just because you can doesn't mean you should. Pin
Gary Wheeler16-Dec-19 1:47
Gary Wheeler16-Dec-19 1:47 
GeneralRe: Just because you can doesn't mean you should. Pin
PIEBALDconsult14-Dec-19 12:53
mvePIEBALDconsult14-Dec-19 12:53 
GeneralRe: Just because you can doesn't mean you should. Pin
honey the codewitch14-Dec-19 16:48
mvahoney the codewitch14-Dec-19 16:48 
caveat with parenthesis in regular expressions. Unfortunately, with some engines () creates an unavoidable capture (no way to turn it off unlike in PCRE or .net regex)

So if you're using like, Microsoft Visual Studio search and replace w/ regex (which i have to from time to time) it pays not to use extra parens. You're not maintaining that regex "code" anyway and the parens just make it so you have to keep advancing $1, $2, to $3 for each group and you only get 9 of them so it's maybe not the best idea to use extras.

I bring this up because 50% of the time i'm not tokenizing i'm using regex in something like a search box and the above applies.
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.

GeneralRe: Just because you can doesn't mean you should. Pin
PIEBALDconsult14-Dec-19 17:19
mvePIEBALDconsult14-Dec-19 17:19 
GeneralRe: Just because you can doesn't mean you should. Pin
honey the codewitch14-Dec-19 17:22
mvahoney the codewitch14-Dec-19 17:22 
GeneralRe: Just because you can doesn't mean you should. Pin
Kirk 1038982116-Dec-19 3:29
Kirk 1038982116-Dec-19 3:29 
GeneralRe: Just because you can doesn't mean you should. PinPopular
Cp-Coder14-Dec-19 14:05
Cp-Coder14-Dec-19 14:05 
GeneralRe: Just because you can doesn't mean you should. Pin
Greg Utas14-Dec-19 14:39
professionalGreg Utas14-Dec-19 14:39 
GeneralRe: Just because you can doesn't mean you should. Pin
Jon McKee14-Dec-19 16:23
professionalJon McKee14-Dec-19 16:23 
GeneralRe: Just because you can doesn't mean you should. Pin
PIEBALDconsult14-Dec-19 17:13
mvePIEBALDconsult14-Dec-19 17:13 
GeneralRe: Just because you can doesn't mean you should. Pin
Greg Utas15-Dec-19 1:05
professionalGreg Utas15-Dec-19 1:05 
GeneralRe: Just because you can doesn't mean you should. Pin
Jörgen Andersson15-Dec-19 1:22
professionalJörgen Andersson15-Dec-19 1:22 
GeneralRe: Just because you can doesn't mean you should. Pin
Gary Wheeler16-Dec-19 1:51
Gary Wheeler16-Dec-19 1:51 
GeneralRe: Just because you can doesn't mean you should. Pin
Member 844862216-Dec-19 3:01
Member 844862216-Dec-19 3:01 
GeneralRe: Just because you can doesn't mean you should. Pin
John Wellbelove16-Dec-19 8:53
John Wellbelove16-Dec-19 8:53 
GeneralRe: Just because you can doesn't mean you should. Pin
Randor 14-Dec-19 16:31
professional Randor 14-Dec-19 16:31 
GeneralRe: Just because you can doesn't mean you should. Pin
rjmoses15-Dec-19 0:05
professionalrjmoses15-Dec-19 0:05 
GeneralRe: Just because you can doesn't mean you should. Pin
Randor 15-Dec-19 0:32
professional Randor 15-Dec-19 0:32 
GeneralRe: Just because you can doesn't mean you should. Pin
rjmoses15-Dec-19 0:41
professionalrjmoses15-Dec-19 0:41 
GeneralRe: Just because you can doesn't mean you should. Pin
Randor 15-Dec-19 0:53
professional Randor 15-Dec-19 0:53 

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.