Skip to content

Commit

Permalink
refactor: fix regex
Browse files Browse the repository at this point in the history
  • Loading branch information
pyphilia committed Oct 30, 2024
1 parent 49e8209 commit 419aab3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/item/constants.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
export const ItemConstants = {
ITEM_NAME_REGEX: '^\\S+( \\S+)*$',
ITEM_NAME_REGEX: /^\\S+( \\S+)*$/u,
};

0 comments on commit 419aab3

Please sign in to comment.