andrewplummer/Sugar — pull request #153 by davidchambers (2012-06-10 17:47:00+00:00)
Title: Documentation fixes

The docs gloss over this distinction:

$ node
> 'He is a good lad. He is good at football.'.replace('is', 'was')
'He was a good lad. He is good at football.'
> 'He is a good lad. He is good at football.'.replace(/is/g, 'was')
'He was a good lad. He was good at football.'

This pull request fixes the faulty example in the Python comparison and rewords a sentence to avoid claiming that String::replace is analogous to Ruby's gsub.