Hacker News new | ask | show | jobs
by zasdffaa 1399 days ago
Christ, the mess that are the docs. And the complexity. Just lost well over an hour trying to get a non-trivial regex working (that would have taken me 30 secs in emacs). Gave up and just used split() and it just worked. Never again, I swear.
3 comments

Might want to check out RegexStorm [1]. It's a .NET regex tester in your browser. Yeah the docs are great but there's nothing like instant feedback to test your regex.

[1] http://regexstorm.net/tester

Thanks but regexes I know pretty well, the regex object docs just were horrible.
> Christ, the mess that are the docs.

You don't love getting 404s almost all the time?

What was the problem -- the regex pattern, or some API?
Capture pattern [edit: I meant capture brackets] extraction. Could get one of them (?!) or nothing at all, but... never again. MS doc examples = no success, not SO, not various blogs.