mirror of
https://github.com/ppy/osu.git
synced 2024-11-06 06:57:39 +08:00
24b7160522
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. |
||
---|---|---|
.. | ||
API | ||
Chat | ||
Leaderboards | ||
Multiplayer | ||
DownloadState.cs | ||
DownloadTrackingComposite.cs | ||
PollingComponent.cs |