enum ICU::SpoofChecker::Check
Overview
FIXME should be present in LibICU (not parsed by Libgen)
Bitmask flags controlling which spoof checks are performed.
Corresponds to ICU's USpoofChecks enum.
Multiple flags can be combined with |.
Defined in:
icu/spoof_checker.crEnum Members
-
SingleScriptConfusable =
1 -
Check that a string is not confusable with another based on a single script (e.g. all-Latin lookalikes).
-
MixedScriptConfusable =
2 -
Check that a string is not confusable when comparing across scripts.
-
WholeScriptConfusable =
4 -
Check that a string is not whole-script confusable with another.
-
Confusable =
7 -
All three confusability checks combined.
-
AnyCase =
8 -
Apply confusability checks regardless of case.
-
RestrictionLevel =
16 -
Check that the string conforms to the configured
restriction_level. -
SingleScript =
16 -
Deprecated alias for
RestrictionLevel. -
Invisible =
32 -
Check for invisible characters (zero-width, etc.).
-
CharLimit =
64 -
Check that all characters are in the allowed character set.
-
MixedNumbers =
128 -
Check that all numeric characters are from the same decimal system.
-
HiddenOverlay =
256 -
Check for hidden overlay confusables (BiDi-related).
-
AllChecks =
65535 -
Enable all checks.
-
AuxInfo =
1073741824 -
Return auxiliary information about the check result.
-
None =
0 -
All =
1073807359
Instance Method Summary
- #all_checks?
- #any_case?
- #aux_info?
- #char_limit?
- #confusable?
- #hidden_overlay?
- #invisible?
- #mixed_numbers?
- #mixed_script_confusable?
- #none?
- #restriction_level?
- #single_script?
- #single_script_confusable?
- #whole_script_confusable?