Closed lucacasonato closed 3 years ago
Chromium implementation uses an exclusive substring: https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/modules/url_pattern/url_pattern_parser.cc;l=454-455;drc=7bd7edac514e6a13820d9982afaa8a5102bd7688
Preview | Diff
Unfortunately the code point substring that is linked to in infra is inclusive. @domenic, what do you think the best way to fix this would be?
code point substring
Just adding − 1 seems relatively clean.
− 1
Chromium implementation uses an exclusive substring: https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/modules/url_pattern/url_pattern_parser.cc;l=454-455;drc=7bd7edac514e6a13820d9982afaa8a5102bd7688
Preview | Diff