"regular express or function" should be "a regex or function"?