you are viewing a single comment's thread
view the rest of the comments
[–] 2 points 3 weeks ago (2 children)

The reason this is horrible is because its absolutely horrible if you ever have to manually touch this regex ever again.

This was not meant as a way to criticise your tool, because it is cool what you did there, but using regexp of that size is something I would advise against in an production environment.

  • source
  • parent
  • hideshow 2 child comments
  • [–] [S] 0 points 3 weeks ago* (1 child)

    So, your criticism is that machine-generated code can be hard to edit when a human needs to touch it. I don't see how that is relevant here, being human-legible or editable is not a stated goal of the project. Rather than lobbing criticism against any software which machine-generates code for machine consumption, it makes more sense to use your best judgement and choose the software which is right for your use-case. I don't even want to know why you would ever machine-generate a regexp from a list, not save the list, and then somehow need to edit the regexp without access to the original items. That's not a software problem.

  • source
  • parent
  • hideshow 1 child comment