epeli/underscore.string — Issue #89: dasherize & Consecutive Capital Letters: Unexpected Behavior?
Author: rallison
Created: 2012-02-28 21:07:22+00:00
State: open

This may or may not be intentional behavior, however neither the documentation nor the current test cases cover this.

Example code:
```
_('thisIsATest').dasherize();
```

What I expect to get: `this-is-a-test`
What I actually get: `this-is-atest`

Because of this, you also end up with this outcome:

```
var foo = 'thisIsATest';
_(foo).chain().dasherize().camelize().value() === foo; // is false
```

Basically, is the current behavior the expected behavior, or is this an overlooked edge case?