diff options
author | David Yip <yipdw@member.fsf.org> | 2017-11-13 11:06:02 -0600 |
---|---|---|
committer | David Yip <yipdw@member.fsf.org> | 2017-11-13 11:06:02 -0600 |
commit | 656d54e9451dc99e212513b799a4deb4d1227bf0 (patch) | |
tree | f1269f1ccc89ae14d119ed97a1eeaf121c14b6c7 /app/controllers/api/v1 | |
parent | e1b7785788aa3887b06a5b2b10731b4b5d66d7e3 (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 'app/controllers/api/v1')
0 files changed, 0 insertions, 0 deletions