Function precis_core::context::rule_hebrew_punctuation

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

Appendix A.5. Appendix A.6. HEBREW PUNCTUATION GERESH and HEBREW PUNCTUATION GERSHAYIM
The script of the preceding character MUST be Hebrew.

§Arguments

  • s: String value to check
  • offset: The position of the character in the label

§Returns

Return true if context permits HEBREW PUNCTUATION GERESH or GERSHAYIM (U+05F3, U+05F4).