You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2023-12-07 14:42:40

wlin
Member
Registered: 2022-02-03
Posts: 7

Formceator: Regex engine not matching ampersand (&) character

Hello,

I was trying to create a new form when I noticed the regex engine can't match the ampersand character.
The following regex does not work when trying to match "&" alone :

 /^&$/ 

The workaround I found was to use the character range (square brackets) around the ampersand:

 /^[&]$/ 

Best regards,

Offline

Board footer

Powered by FluxBB