8 kyu

FIXME: Replace all dots

4,580 of 32,505dinglemouse

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

Similar Kata:

Stats:

CreatedJul 17, 2017
PublishedJul 17, 2017
Warriors Trained42730
Total Skips578
Total Code Submissions63472
Total Times Completed32505
Java Completions4580
JavaScript Completions13706
PHP Completions1428
Ruby Completions859
C# Completions2087
Python Completions9648
Crystal Completions24
CoffeeScript Completions29
Julia Completions36
R Completions94
TypeScript Completions430
Rust Completions321
Go Completions563
Lua Completions89
Scala Completions22
C++ Completions171
Total Stars182
% of votes with a positive feedback rating89% of 3429
Total "Very Satisfied" Votes2790
Total "Somewhat Satisfied" Votes545
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