lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nightowl...@apache.org
Subject [02/12] lucenenet git commit: BUG: Lucene.Net.Analysis.Common\Analysis\CharFilter\MappingCharFilterFactory: fixed escaping problem in parsing regex
Date Wed, 02 Aug 2017 04:12:19 GMT
BUG: Lucene.Net.Analysis.Common\Analysis\CharFilter\MappingCharFilterFactory: fixed escaping
problem in parsing regex


Project: http://git-wip-us.apache.org/repos/asf/lucenenet/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucenenet/commit/6c6a17bd
Tree: http://git-wip-us.apache.org/repos/asf/lucenenet/tree/6c6a17bd
Diff: http://git-wip-us.apache.org/repos/asf/lucenenet/diff/6c6a17bd

Branch: refs/heads/master
Commit: 6c6a17bda3b1863c70aa687c870d7a24199dc4a1
Parents: 05c8a04
Author: Shad Storhaug <shad@shadstorhaug.com>
Authored: Mon Jul 31 06:40:34 2017 +0700
Committer: Shad Storhaug <shad@shadstorhaug.com>
Committed: Mon Jul 31 06:40:34 2017 +0700

----------------------------------------------------------------------
 .../Analysis/CharFilter/MappingCharFilterFactory.cs                | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/6c6a17bd/src/Lucene.Net.Analysis.Common/Analysis/CharFilter/MappingCharFilterFactory.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Analysis.Common/Analysis/CharFilter/MappingCharFilterFactory.cs
b/src/Lucene.Net.Analysis.Common/Analysis/CharFilter/MappingCharFilterFactory.cs
index d16965c..ce116da 100644
--- a/src/Lucene.Net.Analysis.Common/Analysis/CharFilter/MappingCharFilterFactory.cs
+++ b/src/Lucene.Net.Analysis.Common/Analysis/CharFilter/MappingCharFilterFactory.cs
@@ -92,7 +92,7 @@ namespace Lucene.Net.Analysis.CharFilters
         }
 
         // "source" => "target"
-        private static Regex p = new Regex(@"\""(.*)\""\\s*=>\\s*\""(.*)\""\\s*$", RegexOptions.Compiled);
+        private static Regex p = new Regex(@"\""(.*)\""\s*=>\s*\""(.*)\""\s*$", RegexOptions.Compiled);
 
         protected virtual void ParseRules(IList<string> rules, NormalizeCharMap.Builder
builder)
         {


Mime
View raw message