Robin Stocker

Results 123 comments of Robin Stocker

In bff088e4e2842f2eae40324b864d6a791fd653f0 the WWW mode didn't exist yet, that was only added in November 2016: https://github.com/robinst/autolink-java/pull/8#issuecomment-258745236. So the reason is simply that it hasn't been added as an option to...

Released in 0.22.0 now: https://github.com/commonmark/commonmark-java/blob/main/CHANGELOG.md#0220---2024-03-15

Released in 0.22.0 now: https://github.com/commonmark/commonmark-java/blob/main/CHANGELOG.md#0220---2024-03-15

Note that this doesn't really have anything to do with lists, it's the same for a paragraph like this: ``` aaa bbb ccc ``` The reason for this is in...

Closing this as it's not the right approach, see comment above and https://github.com/commonmark/commonmark-java/issues/301.

Hmm that's an interesting idea. So you would set all the known `LinkReferenceDefinition` in the parser builder beforehand? I wonder if it would be even more useful to provide a...

> However, the later PR wouldn't get automatically retargeted, so you'd need some integration to do that. On this, GitHub's behavior recently changed in that if you have a stack...

> Oooh interesting! Is this documented anywhere? I couldn't find it in https://github.blog/ I couldn't find anything official, but it's easy to reproduce and a comment here also mentions it:...

Hey! You can already get that behavior by starting your regex with `(?m)`. A `multi_line` method would be convenient to match regex's API though. I've added a "help wanted" label...

Ah, sounds like you want [dot_matches_new_line](https://docs.rs/regex/latest/regex/struct.RegexBuilder.html#method.dot_matches_new_line) which is `(?s)`: ``` $ cargo run --example toy run '(?s)(.*)' 'hello\nworld' captures: 0:[0..12] "hello\nworld" 1:[0..12] "hello\nworld" ```