Skip to content

Commit a9c1e5f

Browse files
MathieuMatTheCat
authored andcommitted
Move ICU version constraints after the corresponding constant’s name
1 parent cb59d7b commit a9c1e5f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

reference/constraints/NoSuspiciousCharacters.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,8 @@ Options
104104
This option is a bitmask of the checks you want to perform on the string:
105105

106106
* ``NoSuspiciousCharacters::CHECK_INVISIBLE`` checks for the presence of invisible characters such as zero-width spaces, or character sequences that are likely not to display, such as multiple occurrences of the same non-spacing mark.
107-
* ``NoSuspiciousCharacters::CHECK_MIXED_NUMBERS`` checks for numbers from different numbering systems (since ICU 58).
108-
* ``NoSuspiciousCharacters::CHECK_HIDDEN_OVERLAY`` checks for combining characters hidden in their preceding one (since ICU 62).
107+
* ``NoSuspiciousCharacters::CHECK_MIXED_NUMBERS`` (since ICU 58) checks for numbers from different numbering systems.
108+
* ``NoSuspiciousCharacters::CHECK_HIDDEN_OVERLAY`` (since ICU 62) checks for combining characters hidden in their preceding one.
109109

110110
You can also configure additional requirements using :ref:`locales <locales>` and
111111
:ref:`restrictionLevel <restrictionlevel>`.
@@ -133,13 +133,13 @@ specified "level":
133133

134134
* ``NoSuspiciousCharacters::RESTRICTION_LEVEL_MINIMAL`` requires the string's characters to match :ref:`the configured locales <locales>`'.
135135
* ``NoSuspiciousCharacters::RESTRICTION_LEVEL_MODERATE`` also requires the string to be `covered`_ by Latin and any one other `Recommended`_ or `Limited Use`_ script, except Cyrillic, Greek, and Cherokee.
136-
* ``NoSuspiciousCharacters::RESTRICTION_LEVEL_HIGH`` also requires the string to be `covered`_ by any of the following sets of scripts (since ICU 58):
136+
* ``NoSuspiciousCharacters::RESTRICTION_LEVEL_HIGH`` (since ICU 58) also requires the string to be `covered`_ by any of the following sets of scripts:
137137

138138
* Latin + Han + Bopomofo (or equivalently: Latn + Hanb)
139139
* Latin + Han + Hiragana + Katakana (or equivalently: Latn + Jpan)
140140
* Latin + Han + Hangul (or equivalently: Latn + Kore)
141141
* ``NoSuspiciousCharacters::RESTRICTION_LEVEL_SINGLE_SCRIPT`` also requires the string to be `single-script`_.
142-
* ``NoSuspiciousCharacters::RESTRICTION_LEVEL_ASCII`` also requires the string's characters to be in the ASCII range (since ICU 58).
142+
* ``NoSuspiciousCharacters::RESTRICTION_LEVEL_ASCII`` (since ICU 58) also requires the string's characters to be in the ASCII range.
143143

144144
You can accept all characters by setting this option to
145145
``NoSuspiciousCharacters::RESTRICTION_LEVEL_NONE``.

0 commit comments

Comments
 (0)