We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
o
1 parent 0cb8b75 commit 034fbebCopy full SHA for 034fbeb
lib/pathname.rb
@@ -341,9 +341,9 @@ def sub_ext(repl)
341
end
342
343
if File.dirname('A:') == 'A:.' # DOSish drive letter
344
- ABSOLUTE_PATH = /\A(?:[A-Za-z]:|#{SEPARATOR_PAT})/o
+ ABSOLUTE_PATH = /\A(?:[A-Za-z]:|#{SEPARATOR_PAT})/
345
else
346
- ABSOLUTE_PATH = /\A#{SEPARATOR_PAT}/o
+ ABSOLUTE_PATH = /\A#{SEPARATOR_PAT}/
347
348
private_constant :ABSOLUTE_PATH
349
0 commit comments