From 2a2790b4ff0514ef7c42783384a5ff0995db624f Mon Sep 17 00:00:00 2001 From: "Adam T. Carpenter" Date: Tue, 2 Mar 2021 17:12:28 -0500 Subject: updated exceptions --- src/main.rs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/main.rs') diff --git a/src/main.rs b/src/main.rs index 6abf97c..2b670e6 100644 --- a/src/main.rs +++ b/src/main.rs @@ -5,9 +5,10 @@ use std::io::BufReader; /// Words that will not be capitalized unless they are at the start or end of a title. const EXCEPTIONS: &[&str] = &[ "vs", "above", "across", "against", "at", "between", "by", "along", "among", "down", "in", - "around", "of", "off", "on", "to", "with", "before", "behind", "below", "beneath", "down", - "from", "near", "toward", "upon", "within", "a", "an", "the", "and", "but", "for", "or", "nor", - "yet", "so", + "once", "around", "of", "off", "on", "to", "with", "before", "behind", "below", "beneath", + "down", "from", "near", "toward", "upon", "within", "a", "an", "the", "and", "but", "for", + "or", "nor", "so", "till", "when", "yet", "that", "than", "in", "into", "like", "onto", "over", + "past", "as", "if", ]; /// Here are the rules: -- cgit v1.2.3