Skip to content

Commit ac1e111

Browse files
refactor: logic
1 parent 5bd7e51 commit ac1e111

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/LoaderRunner.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ function utf8BufferToString(buf) {
2020
}
2121

2222
const PATH_QUERY_FRAGMENT_REGEXP =
23-
/^(#?(?:\0.|[^?#\0])*)(\?(?:\0.|[^#\0])*)?(#.*)?$/;
23+
/^((?:\0.|[^?#\0])*)(\?(?:\0.|[^#\0])*)?(#.*)?$/;
2424
const ZERO_ESCAPE_REGEXP = /\0(.)/g;
2525

2626
/**

0 commit comments

Comments
 (0)