Skip to content

Commit

Permalink
Update regex to allow intermediate periods in package names
Browse files Browse the repository at this point in the history
  • Loading branch information
xuanxu authored Jan 23, 2025
1 parent 500cfa0 commit 3d55650
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/responders/ropensci/approve_responder.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ class ApproveResponder < Responder

def define_listening
@event_action = "issue_comment.created"
@event_regex = /\A@#{bot_name} approve( [ \w-]+)?\.?\s*\z/i
@event_regex = /\A@#{bot_name} approve( [ \.\w-]*[ \w-]+)?\.?\s*\z/i
end

def process_message(message)
Expand Down

0 comments on commit 3d55650

Please sign in to comment.