1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-06 06:57:39 +08:00
osu-lazer/osu.Game/Online
Bartłomiej Dach 24b7160522 Add support for parsing Markdown inline links
Extend the Markdown parsing regex to allow parsing so-called inline
links. Within the parenthesis () part of the Markdown URL syntax,
introduce a new capturing group:

    (
      \s+              // whitespace between actual URL and inline title
      (?<title>        // start of "title" named group
        ""             // opening double quote (doubled inside @ string)
        (
          [^""]        // any character but a double quote
          |            // or
          (?<=\\)      // the next character should be preceded by a \
          ""           // a double quote
        )*             // zero or more times
        ""             // closing double quote
      )
    )?                 // the whole group is optional

This allows for parsing the inline links as-provided by web. Correctness
is displayed by the passing tests.
2019-10-24 15:52:55 +02:00
..
API Add support for deleted comments with message 2019-10-15 12:07:01 +03:00
Chat Add support for parsing Markdown inline links 2019-10-24 15:52:55 +02:00
Leaderboards Remove unnecessary ToMetric avoidance 2019-09-19 15:45:43 +09:00
Multiplayer Update font awesome usage 2019-04-02 19:55:24 +09:00
DownloadState.cs Make beatmap download buttons inherit BeatmapDownloadTrackingComposite 2019-06-11 23:01:01 +05:30
DownloadTrackingComposite.cs Fix memory leaks from download buttons 2019-08-05 17:58:16 +09:00
PollingComponent.cs Update licence header (and remove year) 2019-01-24 17:43:03 +09:00