Add starting anchor

Co-authored-by: Joshua Nelson <joshua@yottadb.com>
This commit is contained in:
Smittyvb 2021-04-25 15:37:08 -04:00 committed by GitHub
parent e8a143a738
commit a7e23f42cf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -425,7 +425,7 @@ fn map_lib_features(
}
lazy_static::lazy_static! {
static ref COMMENT_LINE: Regex = Regex::new(r"\s*//").unwrap();
static ref COMMENT_LINE: Regex = Regex::new(r"^\s*//").unwrap();
}
// exclude commented out lines
if COMMENT_LINE.is_match(line) {