Closed jjangga0214 closed 2 years ago
camelCase('hello__world', { splitRegexp: /(__)/g }) // This returns "hello_2world"
The number "2" appears in the example above.
Is this a bug?
Thanks.
It's not a bug, but I would accept documentation clearing it up. The split regexp needs two matching groups to work, selecting each side of the "split".
The number "2" appears in the example above.
Is this a bug?
Thanks.