graalvm:StringScanner#pre_match returns an instance of String when passed a String subclass
graalvm:StringScanner#pre_match taints the returned String if the input was tainted
