Skip to content
Snippets Groups Projects
Commit 19175d12 authored by Olivier PEREZ's avatar Olivier PEREZ
Browse files

Allow accents in names

parent 1df48988
No related branches found
No related tags found
No related merge requests found
......@@ -58,7 +58,7 @@ $ALLOWED_LANGUAGES = [
// Regex
const POLL_REGEX = '/^[a-z0-9]+$/';
const CHOICE_REGEX = '/^[012]$/';
const NAME_REGEX = '/^[ a-z0-9_ -]+$/i';
const NAME_REGEX = '/(*UTF8)^[[:alnum:]_ -]+$/i';
// Path to logo
const LOGOBANDEAU = '<relative path to the logo file>';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment