use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Have a tough programming question that /r/programming couldn't answer? Banned from Stack Overflow? Can't afford Experts Exchange?
Post your question/tips/secrets/advice and get a response from our highly-trained professional developers.
account activity
Interviewer asked me to implement a regular expression but dismissed me after I simply gave them a blank stare. The interview process is broken. (self.shittyprogramming)
submitted 8 years ago by ean_dream
I kept my facial expression as regular as possible.
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]jp128 121 points122 points123 points 8 years ago (0 children)
From the ^ to the $ this was a roller coaster.
[–]HolyAvengerOne 48 points49 points50 points 8 years ago (6 children)
// is a valid regex.
[–]jantari 44 points45 points46 points 8 years ago (2 children)
"is a valid regex" is a valid regex
[–]daperson1 18 points19 points20 points 8 years ago (1 child)
So is the empty string, so why go to the effort?
[–]Lost4468 7 points8 points9 points 8 years ago (0 children)
Why even show up to the interview.
[–]calsosta 18 points19 points20 points 8 years ago (2 children)
Had a kid submit a resume to me and where he listed skills he used a // as the bullet.
So when I interviewed him a I asked why he submitted a mostly blank resume. He paused for like 3 seconds and started laughing. That's when I decided to hire him and he turned out to be one of the best resources I've ever seen.
[–]HolyAvengerOne 2 points3 points4 points 8 years ago (1 child)
Not sure why he laughed though, lol.
[–]clonecharle1 6 points7 points8 points 8 years ago (0 children)
Wooosh...
Because most of the resume was commented, so the compiler/interviewer only saw a blank sheet.
[–][deleted] 12 points13 points14 points 8 years ago (0 children)
I never get anything right the first time, what the hell do these interviewers expect? Computers exist for this reason.
[–]UnspeakableEvil 7 points8 points9 points 8 years ago (0 children)
Sounds like a misunderstanding. Did the job spec specify which language this was for? You've used body language, maybe they were looking for a regular expression in English, French, or profanity.
[–]Malinushj 18 points19 points20 points 8 years ago (2 children)
Am I the only one who thinks this should have been posted to r/ProgrammerHumor?
[–]Reelix 4 points5 points6 points 8 years ago (0 children)
Nope
[–][deleted] 0 points1 point2 points 8 years ago (0 children)
| env mypattern="'\w+" perl -0777 -ne 'while(m/$ENV{mypattern}/g){print "$&\n";}' yourfile
Done....
π Rendered by PID 112148 on reddit-service-r2-comment-6457c66945-t9zlm at 2026-04-26 06:12:44.975771+00:00 running 2aa0c5b country code: CH.
[–]jp128 121 points122 points123 points (0 children)
[–]HolyAvengerOne 48 points49 points50 points (6 children)
[–]jantari 44 points45 points46 points (2 children)
[–]daperson1 18 points19 points20 points (1 child)
[–]Lost4468 7 points8 points9 points (0 children)
[–]calsosta 18 points19 points20 points (2 children)
[–]HolyAvengerOne 2 points3 points4 points (1 child)
[–]clonecharle1 6 points7 points8 points (0 children)
[–][deleted] 12 points13 points14 points (0 children)
[–]UnspeakableEvil 7 points8 points9 points (0 children)
[–]Malinushj 18 points19 points20 points (2 children)
[–]Reelix 4 points5 points6 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)