added ー char support

This commit is contained in:
Nicolas Constant
2020-07-31 23:16:23 -04:00
parent 4e9e096a65
commit d9a1dc84be
2 changed files with 23 additions and 2 deletions

View File

@ -12,8 +12,8 @@ namespace BirdsiteLive.Domain.Tools
public class StatusExtractor : IStatusExtractor
{
private readonly Regex _hastagRegex = new Regex(@"\W(\#[a-zA-Z0-9_]+\b)(?!;)");
private readonly Regex _mentionRegex = new Regex(@"\W(\@[a-zA-Z0-9_]+\b)(?!;)");
private readonly Regex _hastagRegex = new Regex(@"\W(\#[a-zA-Z0-9_]+\b)(?!;)");
private readonly Regex _mentionRegex = new Regex(@"\W(\@[a-zA-Z0-9_]+\b)(?!;)");
private readonly InstanceSettings _instanceSettings;
#region Ctor