Skip to content

Commit

Permalink
Add starting anchor
Browse files Browse the repository at this point in the history
Co-authored-by: Joshua Nelson <joshua@yottadb.com>
  • Loading branch information
syvb and Joshua Nelson committed Apr 25, 2021
1 parent e8a143a commit a7e23f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tools/tidy/src/features.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit a7e23f4

Please sign in to comment.