diff options
Diffstat (limited to 'src/arg.rs')
-rw-r--r-- | src/arg.rs | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1,6 +1,7 @@ use regex::{self, Regex}; +/// Check if `s` is a numeric ID. pub fn is_suggestion_id(s: &str) -> Result<bool, regex::Error> { let re = Regex::new(r"^\d+$")?; |