LIBILS-35: Converted the match() function from getting and setting global variables to taking arguments and returning a value.
LIBILS-35: Converted the match() function from getting and setting global variables to taking arguments and returning a value.

dineshmendhe1/alephrx,dineshmendhe1/alephrx,dineshmendhe1/alephrx