commit | 4f05552d8c7829fed09b451263a1bb7faf4c941c | [log] [tgz] |
---|---|---|
author | Tony Sun <tony.sun@cloudant.com> | Tue Aug 25 11:28:10 2015 -0700 |
committer | Tony Sun <tony.sun@cloudant.com> | Tue Aug 25 13:24:03 2015 -0700 |
tree | 7429e6090ef1556d3c685a6e760202ff27e0bfdd | |
parent | 10fcac2be08f22395935bd938d5dccf5e8d71ac9 [diff] |
Fix compilation error
diff --git a/src/mango_util.erl b/src/mango_util.erl index fd572c7..0e06f66 100644 --- a/src/mango_util.erl +++ b/src/mango_util.erl
@@ -371,7 +371,7 @@ is_number_string(Value) when is_binary(Value) -> is_number_string(binary_to_list(Value)); is_number_string(Value) when is_list(Value)-> - case re:run(Subject, ?NUMSTRING) of + case re:run(Value, ?NUMSTRING) of nomatch -> false; _ ->