- Re-enabled regular expression validation in JavaScript

- Changed regular expression definition for the name property in content model

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2809 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Gavin Cornwell
2006-05-10 13:49:29 +00:00
parent 06071f0d4b
commit 97a1987c33
2 changed files with 5 additions and 4 deletions

View File

@@ -16,8 +16,8 @@
<constraints>
<constraint name="cm:filename" type="REGEX">
<parameter name="expression"><value><![CDATA[[^\"\*\\\>\<\?\/\:\|\¬\£\%\&\+\;]+]]></value></parameter>
<parameter name="requiresMatch"><value>true</value></parameter>
<parameter name="expression"><value><![CDATA[.*[\"\*\\\>\<\?\/\:\|\xA3\xAC\%\&\+\;]+.*]]></value></parameter>
<parameter name="requiresMatch"><value>false</value></parameter>
</constraint>
</constraints>