Commit 9af54c51 authored by 段廷瑞's avatar 段廷瑞

pref: markdown渲染优化

parent 3b9cf83e
This diff is collapsed.
...@@ -13,9 +13,9 @@ namespace Tools.MyAgent ...@@ -13,9 +13,9 @@ namespace Tools.MyAgent
@"\b([A-Za-z]:[\\/](?:[^\s\\/:*?""<>|]+[\\/])*[^\s\\/:*?""<>|]+\.[a-zA-Z0-9]{1,10})\b", @"\b([A-Za-z]:[\\/](?:[^\s\\/:*?""<>|]+[\\/])*[^\s\\/:*?""<>|]+\.[a-zA-Z0-9]{1,10})\b",
RegexOptions.Compiled); RegexOptions.Compiled);
/// <summary>UNC 网络路径 \\server\share\...(到空白/引号/常见句读标点为止)</summary> /// <summary>UNC 网络路径 \\server\share\...(到空白/引号/常见句读标点为止;末尾英文句号视为句读,用负向后瞻排除——文件名中的句号不受影响,如 file.md)</summary>
public static readonly Regex UncFilePath = new Regex( public static readonly Regex UncFilePath = new Regex(
@"\\\\[^\s<\"",。;:、!?))】》>]+", @"\\\\[^\s<\"",。;:、!?))】》>]+(?<![.])",
RegexOptions.Compiled); RegexOptions.Compiled);
/// <summary>http/https 链接</summary> /// <summary>http/https 链接</summary>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment