function rename
This commit is contained in:
@@ -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)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user