Closed amosyuen closed 3 years ago
match() only matches at the beginning of ths tring. Use regex search() instead of match() so that it matches values not at the beginning of the name. e.g. will now match "Dining Room Switch".
Good catch -- thanks!
match() only matches at the beginning of ths tring. Use regex search() instead of match() so that it matches values not at the beginning of the name. e.g. will now match "Dining Room Switch".