Skip to content

Commit

Permalink
fix: Erreur trop tardive #433
Browse files Browse the repository at this point in the history
  • Loading branch information
pprev94 committed Jun 24, 2024
1 parent b459bf4 commit a1b0da2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion assets/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,8 @@ const niceBytes = (x: string) => {
const regex = {
// /^(?=.{1,99}$)[a-zA-Z0-9À-ÿ\-._~!$&'()*+,;:@%\s]+$/g
datasheet_name: /^[\wÀ-ÿ\-._~!$&'()*+,;:@%\s]+$/g, // alphanumérique avec accents, certains caractères spéciaux, espaces blancs
file_identifier: /^[\wÀ-ÿ\-._~!$&'()*+,;:@%]+$/g, // alphanumérique avec accents, certains caractères spéciaux
// file_identifier: /^[\wÀ-ÿ\-._~!$&'()*+,;:@%]+$/g, // alphanumérique avec accents, certains caractères spéciaux
file_identifier: /^[\w-.]+$/g, // alphanumérique sans accents, certains caractères spéciaux
technical_name: /^[\w-.]+$/,
email: /^[\w-.]+@([\w-]+\.)+[\w-]{2,}$/,
uuid: /^[A-F\d]{8}-[A-F\d]{4}-[A-F\d]{4}-[A-F\d]{4}-[A-F\d]{12}$/i,
Expand Down

0 comments on commit a1b0da2

Please sign in to comment.