gkindel / csv-js

A Comma-Separated Values parser for JavaScript. Standards-based, stand alone, and no regular expressions.
http://gkindel.github.io/cxv-js/csv.html
106 stars 35 forks source link

fix true/false regex bug #10

Closed coolaj86 closed 9 years ago

coolaj86 commented 10 years ago

Had a customer with the last name Truelove... threw an error when I called .trim() on it, because the string matched /^true/ OR /false$/ and became a bool.

gkindel commented 9 years ago

facepalm Thanks!