-
Notifications
You must be signed in to change notification settings - Fork 5
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
Some tests failed on bun
✗ JSONPath Compliance Test Suite > functions, search, escaped backslash before dot [2.26ms]
✗ JSONPath Compliance Test Suite > functions, search, escaped left square bracket [0.19ms]
It might be mismatch behavior of RegExp.
const a = "x a\\𠀋c y";
const result = /a\\[^\n\r]c/u.test(a);
// false: Bun
// true: Deno
Actual
Steps to reproduce the behavior.
Expected
A clear and concise description of what you expected to happen.
Environment
- Version: Bun 1.1.8
Additional context
nothing
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working