Skip to content

Commit

Permalink
Other: Simplified camel case regex, see #714
Browse files Browse the repository at this point in the history
  • Loading branch information
dcodeIO committed Mar 22, 2017
1 parent d410fd2 commit 017161c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/parse.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ var base10Re = /^[1-9][0-9]*$/,
typeRefRe = /^(?:\.?[a-zA-Z_][a-zA-Z_0-9]*)+$/,
fqTypeRefRe = /^(?:\.[a-zA-Z][a-zA-Z_0-9]*)+$/;

var camelCaseRe = /_([a-z])(?=[a-z]|$)/g;
var camelCaseRe = /_([a-z])/g;

function camelCase(str) {
return str.substring(0,1)
Expand Down

0 comments on commit 017161c

Please sign in to comment.