regexp_parser 2.13.3 → 2.13.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c92e655d2a6ed8b975a670bef10cd649df398dd25f33a1147d7e636463a08cd9
4
- data.tar.gz: a7f558deacf28a6433034d9d194b3f798d2a87ada5c94ff098eb095582c0ec64
3
+ metadata.gz: b8972ff918c2bdab721c83889843a7de2467d7179c1513c0b9b0b182bce4e4f3
4
+ data.tar.gz: 53dc054a00c3f79d51130fc5873adf4a23ba265cdc4086e5fb4fd36d788edaae
5
5
  SHA512:
6
- metadata.gz: 29b50cd19e83a691c03c363e3dce269ef368d096364c0b6081ada024114ebfdccde3b107507324648934963d19edab6ff745cf64ceeb9dd348a9460e62058fb7
7
- data.tar.gz: 9d619d8f55267b211e0d20a057ad68d393bac65b71aacee4fe26c54a3792df64df9649066d43fd70e1f4b05d43ffa677edb15eae52cc7b054468feb8a8bd1e34
6
+ metadata.gz: 48d3c44c2f564bc4c02ddec1fde525a61d4af736a42b9abc81f70d270a10230a01faca5a075ccf27d7756da9823ecd1a56b11d5535bb077680157f4840a4c23d
7
+ data.tar.gz: 6aee419c9aa8020a855a9d82213f6f6528fe93596b04b55a693307122537e5aa8dd7bc050ce519844e0769a831c866d150f7b75d890ded0a9f692cb4b035472f
@@ -70,7 +70,8 @@ class Regexp::Parser
70
70
  enabled_options[:i] = true if options & ::Regexp::IGNORECASE != 0
71
71
  enabled_options[:m] = true if options & ::Regexp::MULTILINE != 0
72
72
  enabled_options[:n] = true if options & ::Regexp::NOENCODING != 0
73
- enabled_options[:s] = true if options & ::Regexp::FIXEDENCODING != 0
73
+ # note: this would be wrong, FIXEDENCODING is any encoding, /s Windows-31J
74
+ # enabled_options[:s] = true if options & ::Regexp::FIXEDENCODING != 0
74
75
  enabled_options[:x] = true if options & ::Regexp::EXTENDED != 0
75
76
  enabled_options
76
77
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  class Regexp
4
4
  class Parser
5
- VERSION = '2.13.3'
5
+ VERSION = '2.13.4'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: regexp_parser
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.13.3
4
+ version: 2.13.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ammar Ali