Skip to content

Commit 034fbeb

Browse files
byroothsbt
authored andcommitted
pathname_buitin.rb: Remove useless o modifier
1 parent 0cb8b75 commit 034fbeb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/pathname.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -341,9 +341,9 @@ def sub_ext(repl)
341341
end
342342

343343
if File.dirname('A:') == 'A:.' # DOSish drive letter
344-
ABSOLUTE_PATH = /\A(?:[A-Za-z]:|#{SEPARATOR_PAT})/o
344+
ABSOLUTE_PATH = /\A(?:[A-Za-z]:|#{SEPARATOR_PAT})/
345345
else
346-
ABSOLUTE_PATH = /\A#{SEPARATOR_PAT}/o
346+
ABSOLUTE_PATH = /\A#{SEPARATOR_PAT}/
347347
end
348348
private_constant :ABSOLUTE_PATH
349349

0 commit comments

Comments
 (0)