method:GET,resource:/articles/* // Try them yourself in this playground // Edit the pattern the object to be matched, then press // the ".match()" button or "Ctrl + Enter" to test { method: "GET", resource: ["articles", "have-great-events"] } .match() Ctrl ⏎