8 kyu

FIXME: Replace all dots

4,608 of 32,782dinglemouse

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 Trained43083
Total Skips582
Total Code Submissions63971
Total Times Completed32782
Java Completions4608
JavaScript Completions13776
PHP Completions1435
Ruby Completions862
C# Completions2121
Python Completions9724
Crystal Completions25
CoffeeScript Completions30
Julia Completions37
R Completions96
TypeScript Completions439
Rust Completions325
Go Completions591
Lua Completions93
Scala Completions24
C++ Completions208
Total Stars185
% of votes with a positive feedback rating89% of 3447
Total "Very Satisfied" Votes2804
Total "Somewhat Satisfied" Votes548
Total "Not Satisfied" Votes95
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