Click here to Skip to main content
15,881,380 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: Who is afraid of regex? Pin
Gary R. Wheeler3-Jan-21 4:56
Gary R. Wheeler3-Jan-21 4:56 
GeneralRe: Who is afraid of regex? Pin
honey the codewitch3-Jan-21 5:18
mvahoney the codewitch3-Jan-21 5:18 
GeneralRe: Who is afraid of regex? Pin
Gary R. Wheeler3-Jan-21 6:10
Gary R. Wheeler3-Jan-21 6:10 
GeneralRe: Who is afraid of regex? Pin
honey the codewitch3-Jan-21 7:49
mvahoney the codewitch3-Jan-21 7:49 
GeneralRe: Who is afraid of regex? Pin
honey the codewitch3-Jan-21 8:21
mvahoney the codewitch3-Jan-21 8:21 
GeneralRe: Who is afraid of regex? Pin
Gary R. Wheeler3-Jan-21 9:25
Gary R. Wheeler3-Jan-21 9:25 
GeneralRe: Who is afraid of regex? Pin
Slacker0073-Jan-21 6:48
professionalSlacker0073-Jan-21 6:48 
GeneralRe: Who is afraid of regex? Pin
Ralf Peter Lucke3-Jan-21 20:54
Ralf Peter Lucke3-Jan-21 20:54 
I like it.

Compared to indexOf, substr etc. it prevents me from dealing with IndexOutOfBound exceptions. I use it often for validation or parsing.

I also use it for configuration: Providing a single text field containing a regex, e.g. for selecting files to process, it gives a lot of flexibility at runtime (yes, it requires some knowledge by the administrator, but it can solve a lot of (unforeseen) requirements without changing the application).

However, you shouldn't solve *every* problem using regex.
GeneralRe: Who is afraid of regex? Pin
#realJSOP3-Jan-21 5:34
mve#realJSOP3-Jan-21 5:34 
GeneralRe: Who is afraid of regex? Pin
honey the codewitch3-Jan-21 7:50
mvahoney the codewitch3-Jan-21 7:50 
GeneralRe: Who is afraid of regex? Pin
#realJSOP3-Jan-21 7:56
mve#realJSOP3-Jan-21 7:56 
GeneralRe: Who is afraid of regex? Pin
honey the codewitch3-Jan-21 8:24
mvahoney the codewitch3-Jan-21 8:24 
GeneralRe: Who is afraid of regex? Pin
Sander Rossel3-Jan-21 23:02
professionalSander Rossel3-Jan-21 23:02 
GeneralRe: Who is afraid of regex? Pin
honey the codewitch4-Jan-21 2:52
mvahoney the codewitch4-Jan-21 2:52 
GeneralRe: Who is afraid of regex? Pin
Thomas Stockwell4-Jan-21 5:08
professionalThomas Stockwell4-Jan-21 5:08 
GeneralRe: Who is afraid of regex? Pin
Matt McGuire5-Jan-21 5:21
professionalMatt McGuire5-Jan-21 5:21 
GeneralNo Post matches the given query in django Error Pin
k3 v1n2-Jan-21 17:32
k3 v1n2-Jan-21 17:32 
GeneralRe: No Post matches the given query in django Error Pin
Rick York2-Jan-21 17:45
mveRick York2-Jan-21 17:45 
GeneralRe: No Post matches the given query in django Error Pin
OriginalGriff2-Jan-21 21:31
mveOriginalGriff2-Jan-21 21:31 
GeneralThe New ABCD Pin
Amarnath S2-Jan-21 15:15
professionalAmarnath S2-Jan-21 15:15 
GeneralRe: The New ABCD Pin
OriginalGriff2-Jan-21 21:30
mveOriginalGriff2-Jan-21 21:30 
GeneralRe: The New ABCD Pin
Marc Clifton3-Jan-21 3:43
mvaMarc Clifton3-Jan-21 3:43 
GeneralRe: The New ABCD Pin
DaveAuld3-Jan-21 6:28
professionalDaveAuld3-Jan-21 6:28 
GeneralRe: The New ABCD Pin
enhzflep3-Jan-21 16:13
enhzflep3-Jan-21 16:13 
GeneralMy New Year Resolution Pin
jsc422-Jan-21 10:05
professionaljsc422-Jan-21 10:05 

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.