mirror of
https://github.com/openbullet/openbullet.git
synced 2023-10-21 07:33:42 -05:00
Now punctuation is considered a symbol in Data Rules.
This commit is contained in:
@@ -117,7 +117,7 @@ namespace RuriLib.Models
|
|||||||
return input.Any(c => char.IsDigit(c));
|
return input.Any(c => char.IsDigit(c));
|
||||||
|
|
||||||
case "Symbol":
|
case "Symbol":
|
||||||
return input.Any(c => char.IsSymbol(c));
|
return input.Any(c => char.IsSymbol(c) || char.IsPunctuation(c));
|
||||||
|
|
||||||
default:
|
default:
|
||||||
foreach(var c in what.ToCharArray())
|
foreach(var c in what.ToCharArray())
|
||||||
|
|||||||
Reference in New Issue
Block a user