added special char

This commit is contained in:
Nicolas Constant
2020-07-31 23:11:41 -04:00
parent 8643f3d366
commit 4fa8b1ade2
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