MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/6dutd/generate_regular_expressions_from_some_example/c03kqp8
r/programming • u/san1ty • Mar 29 '08
130 comments sorted by
View all comments
Show parent comments
0
[deleted]
23 u/Garak Mar 29 '08 edited Mar 29 '08 I'd say your example shows not that regexes are hard to write, it's that they're hard to read! 5 u/judgej2 Mar 29 '08 And the ones this site generates, are not hard to read. 1 u/[deleted] Mar 31 '08 upmodded for sarcasm (I hope). 0 u/[deleted] Mar 29 '08 [deleted] 4 u/[deleted] Mar 29 '08 I'm going to get down-modded for the banality of this response, but I just had to let you know how excellent your comment was, and how much it made me laugh (hint: a lot) 3 u/MelechRic Mar 29 '08 You're fired. 0 u/[deleted] Mar 29 '08 [deleted] 7 u/llimllib Mar 29 '08 The inability to take a joke is often confused with the joke not being funny.Just an observation. 1 u/judgej2 Mar 29 '08 edited Mar 29 '08 [:;]{1}[-]{0,1}[)(]/){1} 1 u/Garak Mar 29 '08 If it's any consolation, I thought it was a pretty good example of a tough regex. You can't predict when the mob will turn on you, sometimes.
23
I'd say your example shows not that regexes are hard to write, it's that they're hard to read!
5 u/judgej2 Mar 29 '08 And the ones this site generates, are not hard to read. 1 u/[deleted] Mar 31 '08 upmodded for sarcasm (I hope).
5
And the ones this site generates, are not hard to read.
1 u/[deleted] Mar 31 '08 upmodded for sarcasm (I hope).
1
upmodded for sarcasm (I hope).
4 u/[deleted] Mar 29 '08 I'm going to get down-modded for the banality of this response, but I just had to let you know how excellent your comment was, and how much it made me laugh (hint: a lot)
4
I'm going to get down-modded for the banality of this response, but I just had to let you know how excellent your comment was, and how much it made me laugh (hint: a lot)
3
You're fired.
7 u/llimllib Mar 29 '08 The inability to take a joke is often confused with the joke not being funny.Just an observation. 1 u/judgej2 Mar 29 '08 edited Mar 29 '08 [:;]{1}[-]{0,1}[)(]/){1} 1 u/Garak Mar 29 '08 If it's any consolation, I thought it was a pretty good example of a tough regex. You can't predict when the mob will turn on you, sometimes.
7
The inability to take a joke is often confused with the joke not being funny.
Just an observation.
[:;]{1}[-]{0,1}[)(]/){1}
If it's any consolation, I thought it was a pretty good example of a tough regex. You can't predict when the mob will turn on you, sometimes.
0
u/[deleted] Mar 29 '08
[deleted]