Skip to content

Commit 4a26991

Browse files
committed
simplify
1 parent 286afad commit 4a26991

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@
66
*/
77

88
module.exports = function filenameRegex() {
9-
return /([^\\\/]*?[^\\\/]*?)((\.([^\\\/.]*))*)$/;
9+
return /([^\\\/]+)$/;
1010
};

0 commit comments

Comments
 (0)