about summary refs log tree commit diff
path: root/spec/models/email_domain_block_spec.rb
diff options
context:
space:
mode:
authorDavid Yip <yipdw@member.fsf.org>2017-11-13 11:06:02 -0600
committerDavid Yip <yipdw@member.fsf.org>2017-11-13 11:06:02 -0600
commit656d54e9451dc99e212513b799a4deb4d1227bf0 (patch)
treef1269f1ccc89ae14d119ed97a1eeaf121c14b6c7 /spec/models/email_domain_block_spec.rb
parente1b7785788aa3887b06a5b2b10731b4b5d66d7e3 (diff)
Maintain case-insensitivity when merging multiple matchers (#213)
When given two regexps, Regexp.union preserves the options set (or not
set) on each regex; this meant that none of the multiline (m),
case-insensitivity (i), or extended syntax (x) options were set.  Our
regexps are written expecting the m, i, and x options were set on all of
them, so we need to make sure that we preserve that behavior.
Diffstat (limited to 'spec/models/email_domain_block_spec.rb')
0 files changed, 0 insertions, 0 deletions