sS ocr_checkForRegexp(BufferedImage img, S regexp) { LS texts = ocr_recognizeMultiLine(img); if (nempty(texts)) print("Texts found: " + sfu(texts)); fOr (S text : texts) try S group = regexpFirstGroup(regexp, text); null; }