Skip to content
Snippets Groups Projects
Commit 2b5bb5dc authored by Eirik Martin Danielsen's avatar Eirik Martin Danielsen :speech_balloon:
Browse files

Merge branch '56-aeoaaeoa' into 'master'

Resolve "æøåÆØÅ"

Closes #56

See merge request !59
parents 73b76c80 1c0da729
No related branches found
No related tags found
1 merge request!59Resolve "æøåÆØÅ"
......@@ -6,7 +6,7 @@ export const EMAIL_REGEX = "^[ÆØÅæøåa-zA-Z0-9_.+-]+@[ÆØÅæøåa-zA-Z0-9
export const PASSWORD_REGEX = "^(?=.*[ÆØÅæøåA-Za-z])(?=.*\\d)[ÆØÅæøåA-Za-z\\d]{2,}$"; // 9 characters, at least one letter and one number
export const MEASUREMENT_REGEX = "^(\\d+(?:[\\.\\,]\\d{1,2})?)$"; // Accepts integers and decimal numbers with comma or period. 2 decimal precision!
export const INTEGER_REGEX = "^[0-9]*[1-9][0-9]*$"; //Accepts only integers
export const LEGAL_LOCATION_REGEX = "^[\\w\\-]+$"; //Accepts trings containing legal file characters
export const LEGAL_LOCATION_REGEX = "^[ÆØÅæøå\\w\\-]+$"; //Accepts trings containing legal file characters
/**************************************** FEEDBACK MESSAGES *****************************************/
export const INVALID_EMAIL_MESSAGE = "Invalid email!";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment