Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix line endings

  • Loading branch information...
commit 72b108cb4995ff835aa8fe7d58e33626ca36db26 1 parent 6f92282
@gmarty gmarty authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/natural/util/utils.js
View
2  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');
Please sign in to comment.
Something went wrong with that request. Please try again.