Fix regex
This commit is contained in:
parent
df637b30b0
commit
8837193537
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@ class ProcessReferencesService < BaseService
|
|||
include Payloadable
|
||||
|
||||
DOMAIN = ENV['WEB_DOMAIN'] || ENV.fetch('LOCAL_DOMAIN', nil)
|
||||
REFURL_EXP = /(RT|QT|BT|RN|RE)((:|;)? +|:|;)(#{URI::DEFAULT_PARSER.make_regexp(%w(http https))})/
|
||||
REFURL_EXP = /(RT|QT|BT|RN|RE)((:|;)?\s+|:|;)(#{URI::DEFAULT_PARSER.make_regexp(%w(http https))})/
|
||||
|
||||
def call(status, reference_parameters, save_records: true, urls: nil)
|
||||
@status = status
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue