Regular expression should support french names.
--HG-- branch : develop
This commit is contained in:
parent
08945f71f2
commit
d9f93a28e4
|
@ -647,7 +647,7 @@
|
|||
</xs:element>
|
||||
<xs:simpleType name="shortName">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:pattern value="^([^\p{Nd}\p{Zs}*/&|!<>^\()\-−+.,٫, ٬.'’=?:;'\"]){1,1}([^\p{Zs}*/&|!<>^\()\-−+.,٫, ٬.'’=?:;\"]){0,}$"/>
|
||||
<xs:pattern value="^([^\p{Nd}\p{Zs}*/&|!<>^\()\-−+.,٫, ٬.’=?:;'\"]){1,1}([^\p{Zs}*/&|!<>^\()\-−+.,٫, ٬.’=?:;\"]){0,}$"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:simpleType name="units">
|
||||
|
|
|
@ -316,6 +316,7 @@ QString NameRegExp()
|
|||
}
|
||||
|
||||
negativeSigns.replace('-', "\\-");
|
||||
groupSeparators.remove('\'');
|
||||
|
||||
//Same regexp in pattern.xsd shema file. Don't forget to synchronize.
|
||||
// \p{Nd} - \p{Decimal_Digit_Number}
|
||||
|
|
Loading…
Reference in New Issue
Block a user