/* package whatever; // don't place package name! */
import java.util.*;
import java.lang.*;
import java.io.*;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
/* Name of the class has to be "Main" only if the class is public. */
class Ideone
{
{
final String msgRegex
= "Produto [a-z0-9À-ú, ]*"; final String msg
= "Produto Soja";
Pattern r = Pattern.compile(msgRegex);
Matcher m = r.matcher(msg);
if (m.find( )) {
System.
out.
println("Verdadeiro"); }else {
}
}
}
LyogcGFja2FnZSB3aGF0ZXZlcjsgLy8gZG9uJ3QgcGxhY2UgcGFja2FnZSBuYW1lISAqLwoKaW1wb3J0IGphdmEudXRpbC4qOwppbXBvcnQgamF2YS5sYW5nLio7CmltcG9ydCBqYXZhLmlvLio7CgppbXBvcnQgamF2YS51dGlsLnJlZ2V4Lk1hdGNoZXI7CmltcG9ydCBqYXZhLnV0aWwucmVnZXguUGF0dGVybjsKCi8qIE5hbWUgb2YgdGhlIGNsYXNzIGhhcyB0byBiZSAiTWFpbiIgb25seSBpZiB0aGUgY2xhc3MgaXMgcHVibGljLiAqLwpjbGFzcyBJZGVvbmUKewoJcHVibGljIHN0YXRpYyB2b2lkIG1haW4gKFN0cmluZ1tdIGFyZ3MpIHRocm93cyBqYXZhLmxhbmcuRXhjZXB0aW9uCgl7CgoJCWZpbmFsIFN0cmluZyBtc2dSZWdleCA9ICJQcm9kdXRvIFthLXowLTnDgC3DuiwgXSoiOwoJCWZpbmFsIFN0cmluZyBtc2cgPSAiUHJvZHV0byBTb2phIjsKCgkJUGF0dGVybiByID0gUGF0dGVybi5jb21waWxlKG1zZ1JlZ2V4KTsKCgkJTWF0Y2hlciBtID0gci5tYXRjaGVyKG1zZyk7CgkJaWYgKG0uZmluZCggKSkgewoJCQkgU3lzdGVtLm91dC5wcmludGxuKCJWZXJkYWRlaXJvIik7CgkJfWVsc2UgewoJCQlTeXN0ZW0ub3V0LnByaW50bG4oIkZhbHNvIik7CgkJfQoJfQp9