• + 3 comments

    I hear ya, but no one really uses this kind of pattern with strings, but sets of objects and graphs. Running algorithms on strings is just easier to comprehend for some, and that's why we use them as practice. That said, regex as a reasonable way limits the usage breadth of the concept and simply states the problem-solver's limits.

    It's not that difficult really. Maybe the points could be a little higher, but I wouldn't say this isn't easy.