neocrates 0.1.47

A comprehensive Rust library for various utilities and helpers
Documentation
1
2
3
4
5
6
use once_cell::sync::Lazy;
use regex::Regex;

/// Regex for matching English words.
pub static ENGLISH_REGEX: Lazy<Regex> =
    Lazy::new(|| Regex::new(r"^[a-zA-Z]+$").expect("Failed to compile regex"));