Function precis_core::context::rule_arabic_indic_digits

source ·
pub fn rule_arabic_indic_digits(
    s: &str,
    offset: usize,
) -> Result<bool, ContextRuleError>
Expand description

Appendix A.8. ARABIC-INDIC DIGITS
Can not be mixed with Extended Arabic-Indic Digits.

§Arguments

  • s: String value to check

§Returns

Return true if context permits ARABIC-INDIC DIGITS (U+0660..U+0669).