var keyvalue = rawString.split(':');
if (keyvalue.length === 2) {
var key = keyvalue[0].trim();
var val = keyvalue[1].trim();
if (val[0] == '"' || val[0] == "'") {
val = val.substr(1, val.length - 2);
var matches = code.match(constraintPattern);
console.log('constraints found: ' + matches.length);
matches.forEach(function(constraintCode) {
var m = constraintCode.match(innerPattern);
var condition = m[4].trim();
var opt1 = parseOption(m[1]),
opt2 = parseOption(m[2]),
opt3 = parseOption(m[3]);