Updated ingredient bulk parsing

This commit is contained in:
Dan Elbert 2016-01-19 16:54:43 -06:00
parent 170098046e
commit ae76d41903

View File

@ -237,7 +237,7 @@
var lines = data.replace("\r", "").split("\n");
var regex = /^(?:([\d\/.]+(?:\s+[\d\/]+)?)\s+)?(?:([\w-]+)(?:\s+of)?\s+)?(\w[\w ,\-\(\)\/]*)$/i;
var regex = /^(?:([\d\/.]+(?:\s+[\d\/]+)?)\s+)?(?:([\w-]+)(?:\s+of)?\s+)?(\w[\w ,\-\(\)\/'"]*)$/i;
var magicFunc = function(str) {
if (str == "-") {