Skip to content

Commit b5e594d

Browse files
committed
fix "Help wanted" regex to match ping template
1 parent 1f53085 commit b5e594d

File tree

1 file changed

+1
-1
lines changed
  • crates/rust-project-goals/src

1 file changed

+1
-1
lines changed

crates/rust-project-goals/src/re.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ pub fn is_just(re: &Regex, s: &str) -> bool {
104104
lazy_static! {
105105
/// If a line within a comment begins with this text, it will be considered a request for help
106106
pub static ref HELP_WANTED: Regex =
107-
Regex::new(r"^(?i:help wanted:|\*\*help wanted:\*\*) (?P<text>.*)")
107+
Regex::new(r"^[*-]?\s*(?i:help wanted:|\*\*help wanted:\*\*) (?P<text>.*)")
108108
.unwrap();
109109
}
110110

0 commit comments

Comments
 (0)