public ComparisonDifference GetComparisonDifference(string differenceString)
        {
            ComparisonDifference comparisonDifference = new ComparisonDifference();
            Regex firstArgRE = new Regex(@"([^ ]+)[ ]!=");

            comparisonDifference.FullObject1 = firstArgRE.Match(differenceString).Groups[1].Value;

            Regex secondArgRE = new Regex("!=[ ]([^ ]+)");

            comparisonDifference.FullObject2 = secondArgRE.Match(differenceString).Groups[1].Value;

            //Regex secondArgRE = new
            return(comparisonDifference);
        }
Example #2
0
        public ComparisonDifference GetComparisonDifference(string differenceString)
        {
            ComparisonDifference comparisonDifference = new ComparisonDifference();
            Regex firstArgRE = new Regex(@"([^ ]+)[ ]!=");
            comparisonDifference.FullObject1 = firstArgRE.Match(differenceString).Groups[1].Value;

            Regex secondArgRE = new Regex("!=[ ]([^ ]+)");
            comparisonDifference.FullObject2 = secondArgRE.Match(differenceString).Groups[1].Value;
            
            //Regex secondArgRE = new 
            return comparisonDifference;
        }