google / skylark

Skylark in Go: the Skylark configuration language, implemented in Go [MOVED to go.starlark.net]
BSD 3-Clause "New" or "Revised" License
1.19k stars 74 forks source link

string.capitalize #140

Closed laurentlb closed 6 years ago

laurentlb commented 6 years ago

According to the specification and the implementation, string.capitalize modifies the first letter of every word. Therefore "aBc dEf".capitalize() returns "ABc DEf".

This is a bug:

alandonovan commented 6 years ago

I agree this is a bug. Thanks for reporting it.