News for hackers. Stuff that matters.
Re:Is there a regular expression to detect a valid regular e... by thereare5lights on Sunday September 08, 2019 @01:52PM (#20912084)
> I'm pretty sure the questioner wasn't asking "how do I validate a regular expression" because he would have asked that.

In my experience, people sometimes ask for how to solve the more immediate detail they’re working on rather than the broader problem.

Re:Is there a regular expression to detect a valid regular e... by corobo on Sunday September 08, 2019 @02:32PM (#20912392)
This came up recently. Going to start calling it the XYZ problem

https://news.ycombinator.com/item?id=20861806

Edit: page refreshed and sure enough the sibling comment calls it out by name

Edit2: Called it the XYZ problem: https://cohan.io/the-xyz-problem/

Re:Is there a regular expression to detect a valid regular e... by NieDzejkob on Sunday September 08, 2019 @02:22PM (#20912322)
See also: the XY problem [0][1].

[0]: http://xyproblem.info/

[1]: https://en.wikipedia.org/wiki/XY_problem