The arguments for the regex search() function were transposed in the netcli match() method that caused conditionals to fail. Switched the arguments to fixe the bug fixes #17749