8 kyu

FIXME: Replace all dots

4,600 of 32,689dinglemouse

Description:

The code provided is supposed replace all the dots . in the specified String str with dashes -

But it's not working properly.

Task

Fix the bug so we can all go home early.

Notes

String str will never be null.

Debugging
Regular Expressions

Stats:

CreatedJul 17, 2017
PublishedJul 17, 2017
Warriors Trained42946
Total Skips581
Total Code Submissions63821
Total Times Completed32689
Java Completions4600
JavaScript Completions13749
PHP Completions1430
Ruby Completions862
C# Completions2116
Python Completions9694
Crystal Completions25
CoffeeScript Completions30
Julia Completions37
R Completions96
TypeScript Completions437
Rust Completions324
Go Completions582
Lua Completions91
Scala Completions24
C++ Completions200
Total Stars183
% of votes with a positive feedback rating89% of 3440
Total "Very Satisfied" Votes2799
Total "Somewhat Satisfied" Votes547
Total "Not Satisfied" Votes94
Total Rank Assessments8
Average Assessed Rank
7 kyu
Highest Assessed Rank
7 kyu
Lowest Assessed Rank
8 kyu
Ad
Contributors
  • dinglemouse Avatar
  • Javatlacati Avatar
  • donaldsebleung Avatar
  • cheeze Avatar
  • Souzooka Avatar
  • dcieslak Avatar
  • hobovsky Avatar
  • SergeySinyavskiy Avatar
  • ejini战神 Avatar
  • akar-0 Avatar
  • Kacarott Avatar
  • o2001 Avatar
  • fcr-- Avatar
  • KayleighWasTaken Avatar
  • metatable Avatar
Ad