Skip to content

Commit

Permalink
fix(lint): param matcher + unicode flag
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmy-zhening-luo committed Oct 19, 2024
1 parent 905974d commit 0192c43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/params/parcel.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
export function match(param: string): boolean {
return /^[A-Za-z0-9]+$/.test(param);
return /^[A-Za-z0-9]+$/u.test(param);
}

0 comments on commit 0192c43

Please sign in to comment.