Report question

Question: Can someone please explain this regex filtering of an array