# Helper functions for lita-jira module JiraHelper # Regular expressions module Regex PROJECT_PATTERN = /(?[a-zA-Z0-9]{1,10})/ ISSUE_PATTERN = /(?#{PROJECT_PATTERN}-[0-9]{1,5}+)/ EMAIL_PATTERN = /(?[\w+\-.]+@[a-z\d\-]+(\.[a-z]+)*\.[a-z]+)/i end end