I try to use regex that not contain url prefix /token like this
beego.InsertFilter("^((?!token).)*$",beego.BeforeRouter,token_construct.APIBaiscAuth("ok","ok"))
But not work, all url prefix still skip the filter function.
How to use regex in this function