Fixes #757 Allow Unicode hashtags (#758)

* Add test for Persian language hashtags

See https://github.com/Plume-org/Plume/issues/757

* Add regex-syntax with unicode-perl feature to dependencies

* Install regex-syntax

* Allow hashtag to use Unicode word characters

* Run cargo fmt
This commit is contained in:
KITAITI Makoto
2020-04-29 15:13:31 +02:00
committed by GitHub
parent e1bd2eab75
commit edaccd1a31
3 changed files with 5 additions and 1 deletions
+1
View File
@@ -22,6 +22,7 @@ serde_json = "1.0"
shrinkwraprs = "0.2.1"
syntect = "3.3"
tokio = "0.1.22"
regex-syntax = { version = "0.6.17", default-features = false, features = ["unicode-perl"] }
[dependencies.chrono]
features = ["serde"]