Skip to content

Commit

Permalink
Resolve warning: duplicate character class in regex
Browse files Browse the repository at this point in the history
  • Loading branch information
jas14 committed Oct 19, 2024
1 parent 28eb1c8 commit 613bc30
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def initialize(expected_output)
end

def removing_object_ids
first_replacing(/#<([\w_:]+):0x[a-f0-9]+/, '#<\1')
first_replacing(/#<([\w:]+):0x[a-f0-9]+/, '#<\1')
self
end

Expand Down

0 comments on commit 613bc30

Please sign in to comment.