[ { "action": [ ":core", ":do-nothing" ], "regex": "^Require SVG$" }, { "action": [ ":core", ":set-field", "svg", ":xml", ":field/svg-input" ], "regex": "^Set SVG$" }, { "action": [ ":core", ":compare", "svg-input", "<>", ":nil" ], "regex": "(?i)^\\s*Proceed[\\?]?\\s*$" }, { "action": [ ":svg", ":any-ellipse-with-height", ":svg", ":%1", ":%2" ], "regex": "(?i)^\\s*Any ellipse with height \\s*(>=|<=|>|<|==|!=|larger than|less than|longer than|shorter than)\\s*([^?]+)[\\s\\?]*" }, { "action": [ ":core", ":set-field", ":score", ":number", ":%1" ], "regex": "(?i)^\\s*Score (\\d+)" }, { "action": [ ":svg", ":any-ellipses?", ":svg" ], "regex": "(?i)^\\s*Any ellipses?[\\?]?" }, { "action": [ ":svg", ":any-rectangle-with-area", ":svg", ":%1", ":%2" ], "regex": "(?i)^\\s*Any rectangle with area \\s*(>=|<=|>|<|==|!=|larger than|less than|longer than|shorter than)\\s*([^?]+)[\\s\\?]*" }, { "action": [ ":svg", ":any-straight-lines?", ":svg" ], "regex": "(?i)^\\s*Any straight lines[\\?]?" }, { "action": [ ":svg", ":radius", ":svg", ":%1", ":%2" ], "regex": "(?i)^\\s*Radius \\s*(>=|<=|>|<|==|!=|larger than|less than|longer than|shorter than)\\s*([^?]+)[\\s\\?]*" }, { "action": [ ":svg", ":only-blue-circles?", ":svg" ], "regex": "(?i)^\\s*Only blue circles[\\?]?" }, { "action": [ ":svg", ":any-text?", ":svg" ], "regex": "(?i)^\\s*Any text[\\?]?" }, { "action": [ ":svg", ":any-red-circles?", ":svg" ], "regex": "(?i)^\\s*Any Red Circles[\\?]?" }, { "action": [ ":svg", ":total-element-count", ":svg", ":%1", ":%2" ], "regex": "(?i)^\\s*Total element count \\s*(>=|<=|>|<|==|!=|larger than|less than|longer than|shorter than)\\s*([^?]+)[\\s\\?]*" }, { "action": [ ":svg", ":any-rectangles?", ":svg" ], "regex": "(?i)^\\s*Any rectangles or squares[\\?]?" }, { "action": [ ":svg", ":text-contains-lhasa?", ":svg" ], "regex": "(?i)^\\s*Text containing the sequence 'Lhasa'[\\?]?" }, { "action": [ ":svg", ":any-elements-with-opacity", ":svg", ":%1", ":%2" ], "regex": "(?i)^\\s*Any elements with opacity \\s*(>=|<=|>|<|==|!=|larger than|less than|longer than|shorter than)\\s*([^?]+)[\\s\\?]*" }, { "action": [ ":svg", ":total-element-count", ":svg", ">", "1" ], "regex": "(?i)^\\s*More than one element in the file[\\?]?" }, { "action": [ ":svg", ":every-line", ":svg", ":%1", ":%2" ], "regex": "(?i)^\\s*Every line \\s*(>=|<=|>|<|==|!=|larger than|less than|longer than|shorter than)\\s*([^?]+)[\\s\\?]*" }, { "action": [ ":svg", ":any-green-rectangles?", ":svg" ], "regex": "(?i)^\\s*Rectangle green[\\?]?" }, { "action": [ ":core", ":last-result-is-true" ], "regex": "(?i)^\\s*(Yes|True|Is True)[\\?]?" }, { "action": [ ":core", ":last-result-is-not-true" ], "regex": "(?i)^\\s*(No|False|Is False|Is Not True)[\\?]?" } ]