Permalink
Browse files

Other: Simplified camel case regex, see #714

  • Loading branch information...
dcodeIO committed Mar 22, 2017
1 parent d410fd2 commit 017161ce97ceef3b2d0ce648651a4636f187d78b
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/parse.js
@@ -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)

0 comments on commit 017161c

Please sign in to comment.