- using regex instead of indexOf test to determine assets