feat(parameter): use re2js instead (#13072)

* feat(parameter): use re2js instead

* fix: add back comment
This commit is contained in:
Tony
2023-08-19 00:53:54 +08:00
committed by GitHub
parent f94c4c3dd3
commit c0c6f7caff
5 changed files with 56 additions and 57 deletions

View File

@@ -18,7 +18,7 @@ describe('filter-engine', () => {
const response = await request.get('/test/1?filter=abc(%3F%3Ddef)');
expect(response.status).toBe(404);
expect(response.text).toMatch(/SyntaxError/);
expect(response.text).toMatch(/RE2JSSyntaxException/);
server.close();
});