function rename

This commit is contained in:
andre-n
2018-02-10 20:18:50 +01:00
parent 1876b1bfdf
commit 75ca4c8412
@@ -134,7 +134,7 @@ namespace Newtonsoft.Json.Linq.JsonPath
switch (Operator) switch (Operator)
{ {
case QueryOperator.RegExEquals: case QueryOperator.RegExEquals:
if (RegExEquals(leftValue, rightValue)) if (RegexEquals(leftValue, rightValue))
{ {
return true; return true;
} }
@@ -194,7 +194,7 @@ namespace Newtonsoft.Json.Linq.JsonPath
return false; return false;
} }
private static bool RegExEquals(JValue input, JValue pattern) private static bool RegexEquals(JValue input, JValue pattern)
{ {
if (input.Type != JTokenType.String || pattern.Type != JTokenType.String) if (input.Type != JTokenType.String || pattern.Type != JTokenType.String)
{ {