addresses #4230 by adding an optional match for multiple IP strings