Skip to content

Commit e1728e5

Browse files
authored
chore: remove unnecessary \d (#12619)
`\w` includes `\d`
1 parent a212b0d commit e1728e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/svelte/src/compiler/utils/mapped_code.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ function merge_tables(this_table, other_table) {
7070
}
7171
return [new_table, idx_map, val_changed, idx_changed];
7272
}
73-
const regex_line_token = /([^\d\w\s]|\s+)/g;
73+
const regex_line_token = /([^\w\s]|\s+)/g;
7474
/** */
7575
export class MappedCode {
7676
/**

0 commit comments

Comments
 (0)