From c327408ea8e771f79b5d03ab4638d3d0d33515ff Mon Sep 17 00:00:00 2001 From: inga-lovinde <52715130+inga-lovinde@users.noreply.github.com> Date: Thu, 16 Sep 2010 15:22:31 +0000 Subject: [PATCH] New typographics replacements --- Builder/IISMainHandler/build.txt | 2 +- Common/UBBParser.cs | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Builder/IISMainHandler/build.txt b/Builder/IISMainHandler/build.txt index 5b2b555..c1883bc 100644 --- a/Builder/IISMainHandler/build.txt +++ b/Builder/IISMainHandler/build.txt @@ -1 +1 @@ -1340 \ No newline at end of file +1342 \ No newline at end of file diff --git a/Common/UBBParser.cs b/Common/UBBParser.cs index 9f072a9..59d871d 100644 --- a/Common/UBBParser.cs +++ b/Common/UBBParser.cs @@ -79,6 +79,10 @@ namespace FLocal.Common { { new Regex(">=", RegexOptions.Compiled | RegexOptions.IgnoreCase | RegexOptions.Singleline), match => "≥" }, { new Regex("!=", RegexOptions.Compiled | RegexOptions.IgnoreCase | RegexOptions.Singleline), match => "≠" }, { new Regex("~=", RegexOptions.Compiled | RegexOptions.IgnoreCase | RegexOptions.Singleline), match => "≈" }, + { new Regex("=>", RegexOptions.Compiled | RegexOptions.IgnoreCase | RegexOptions.Singleline), match => "⇒" }, + { new Regex("<->", RegexOptions.Compiled | RegexOptions.IgnoreCase | RegexOptions.Singleline), match => "↔" }, + { new Regex("->", RegexOptions.Compiled | RegexOptions.IgnoreCase | RegexOptions.Singleline), match => "→" }, + { new Regex("<-", RegexOptions.Compiled | RegexOptions.IgnoreCase | RegexOptions.Singleline), match => "←" }, }; private ITextFormatter inner;