Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
leighmacdonald committed Jan 2, 2024
1 parent 6a95df7 commit be5ccac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/util/validators.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,4 +109,4 @@ export const steamIDOrEmptyString = async (
const ipRegex =
/^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$/gi;

export const isValidIP = (value: string): boolean => ipRegex.test(value);
export const isValidIP = (value: string): boolean => ipRegex.test(value);

0 comments on commit be5ccac

Please sign in to comment.