Skip to content

Commit a12914b

Browse files
committed
pathname_buitin.rb: Remove useless o modifier
1 parent dc10c92 commit a12914b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pathname_builtin.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ class Pathname
3636
end
3737

3838
if File.dirname('A:') == 'A:.' # DOSish drive letter
39-
ABSOLUTE_PATH = /\A(?:[A-Za-z]:|#{SEPARATOR_PAT})/o
39+
ABSOLUTE_PATH = /\A(?:[A-Za-z]:|#{SEPARATOR_PAT})/
4040
else
41-
ABSOLUTE_PATH = /\A#{SEPARATOR_PAT}/o
41+
ABSOLUTE_PATH = /\A#{SEPARATOR_PAT}/
4242
end
4343
private_constant :ABSOLUTE_PATH
4444

0 commit comments

Comments
 (0)