From 722b7f2f25c0a66160cda67a12979a0a942c7705 Mon Sep 17 00:00:00 2001 From: John Maxwell Date: Wed, 29 May 2024 09:49:36 -0700 Subject: [PATCH] Made changes requested by Andy Black --- Src/LexText/ParserCore/HCLoader.cs | 2 +- Src/LexText/ParserCore/ParserCoreTests/HCLoaderTests.cs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Src/LexText/ParserCore/HCLoader.cs b/Src/LexText/ParserCore/HCLoader.cs index 4e09cf7572..2ccbcde8fe 100644 --- a/Src/LexText/ParserCore/HCLoader.cs +++ b/Src/LexText/ParserCore/HCLoader.cs @@ -2345,7 +2345,7 @@ private void LoadCharacterDefinitionTable(IPhPhonemeSet phonemeSet) } } - m_null = m_table.AddBoundary(new[] {"^0", "*0", "&0", "Ø", "∅"}); + m_null = m_table.AddBoundary(new[] {"^0", "*0", "&0", "∅"}); m_table.AddBoundary("."); m_morphBdry = m_table["+"]; diff --git a/Src/LexText/ParserCore/ParserCoreTests/HCLoaderTests.cs b/Src/LexText/ParserCore/ParserCoreTests/HCLoaderTests.cs index 8376b88fd3..43e0770597 100644 --- a/Src/LexText/ParserCore/ParserCoreTests/HCLoaderTests.cs +++ b/Src/LexText/ParserCore/ParserCoreTests/HCLoaderTests.cs @@ -25,8 +25,8 @@ namespace SIL.FieldWorks.WordWorks.Parser [TestFixture] public class HCLoaderTests : MemoryOnlyBackendProviderRestoredForEachTestTestBase { - private const string PrefixNull = "([StrRep:{\"&0\", \"*0\", \"^0\", \"∅\", \"Ø\"}, Type:boundary][StrRep:\"+\", Type:boundary])*"; - private const string SuffixNull = "([StrRep:\"+\", Type:boundary][StrRep:{\"&0\", \"*0\", \"^0\", \"∅\", \"Ø\"}, Type:boundary])*"; + private const string PrefixNull = "([StrRep:{\"&0\", \"*0\", \"^0\", \"∅\"}, Type:boundary][StrRep:\"+\", Type:boundary])*"; + private const string SuffixNull = "([StrRep:\"+\", Type:boundary][StrRep:{\"&0\", \"*0\", \"^0\", \"∅\"}, Type:boundary])*"; private const string AnyPlus = PrefixNull + "ANY+" + SuffixNull; private const string AnyStar = PrefixNull + "ANY*" + SuffixNull; private const string VowelFS = "[cons:-, Type:segment, voc:+]";