Permalink
Browse files

Fix line endings

  • Loading branch information...
1 parent 6f92282 commit 72b108cb4995ff835aa8fe7d58e33626ca36db26 @gmarty gmarty committed Feb 11, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/natural/util/utils.js
@@ -52,7 +52,7 @@ function replacer(translationTable) {
for (key in translationTable) {
// Escaping regexp special chars.
// @see Speed test for type casting to string http://jsperf.com/string-type-casting/2
- // @see http://closure-library.googlecode.com/svn/docs/closure_goog_string_string.js.source.html#line961
+ // @see http://closure-library.googlecode.com/svn/docs/closure_goog_string_string.js.source.html#line956
key = ('' + key).replace(/([-()\[\]{}+?*.$\^|,:#<!\\\/])/g, '\\$1').
replace(/\x08/g, '\\x08');

0 comments on commit 72b108c

Please sign in to comment.