K-Phoen / node-simple-xlsx

Simple XLSX writer for Node.js.
MIT License
2 stars 2 forks source link

Fix NUMBER_REGEXP #2

Closed YChebotaev closed 9 years ago

YChebotaev commented 9 years ago

Well, original regexp will fail in follow cases:

  1. When number less then 2 digits;
  2. When number starts with a -, e.g. negative number;
K-Phoen commented 9 years ago

Thanks!