* is.ncl: str_index_of_substr allow "-" as part of num

Signed-off-by: Yakkala Yagnesh Raghava <hi@yagnesh.org>
* resources.ncl: use newly defined set_res_value_keep

Signed-off-by: Yakkala Yagnesh Raghava <hi@yagnesh.org>