News for hackers. Stuff that matters.
Re:.NET 6 is now in Ubuntu 22.04 by zasdffaa on Tuesday August 16, 2022 @12:22PM (#32484986)
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.
Re:.NET 6 is now in Ubuntu 22.04 by octopoc on Tuesday August 16, 2022 @02:04PM (#32486483)
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

Re:.NET 6 is now in Ubuntu 22.04 by zasdffaa on Tuesday August 16, 2022 @02:16PM (#32486625)
Thanks but regexes I know pretty well, the regex object docs just were horrible.
Re:.NET 6 is now in Ubuntu 22.04 by Akronymus on Tuesday August 16, 2022 @01:54PM (#32486345)
> Christ, the mess that are the docs.

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

Re:.NET 6 is now in Ubuntu 22.04 by custard42 on Tuesday August 16, 2022 @12:34PM (#32485164)
What was the problem -- the regex pattern, or some API?
Re:.NET 6 is now in Ubuntu 22.04 by zasdffaa on Tuesday August 16, 2022 @02:15PM (#32486613)
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.