Skip to content

Commit

Permalink
fix: a/b/c/ just c not a/b/c
Browse files Browse the repository at this point in the history
  • Loading branch information
radiorz committed Nov 16, 2022
1 parent 44a8270 commit f32c70a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion snippets/file_name.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* @example
*/
const body =
"${RELATIVE_FILEPATH/(.*)[\\\\|\\/]index\\..*|.*[\\\\|\\/](.*).*\\..*/$1$2/}";
"${RELATIVE_FILEPATH/.*[\\\\|\\/](.*)[\\\\|\\/]index\\..*|.*[\\\\|\\/](.*).*\\..*/$1$2/}";
const description = "";

module.exports = {
Expand Down

0 comments on commit f32c70a

Please sign in to comment.