Undefined when RegExp
magbicaleman opened this issue · 2 comments
magbicaleman commented
// matches /ok$/ regular expression
[/ok$/,function(){}]
Is this suppose to pass into the function? I'm getting an undefined when
[/ok$/, (v) => console.log(v)]
alexghenderson commented
I've encountered the same issue. I've created a PR #8 to resolve this issue.
bramstein commented
This is fixed now, thanks to @alexghenderson.