/* package whatever; // don't place package name! */
import java.util.*;
import java.lang.*;
import java.util.regex.*;
/* Name of the class has to be "Main" only if the class is public. */
class Ideone
{
{
Matcher matcher = Pattern.compile("^\\w+$", Pattern.UNICODE_CHARACTER_CLASS).matcher("今日اليوم");
if (matcher.find()) {
System.
out.
println("match encontrado: " + matcher.
group()); }
}
}
LyogcGFja2FnZSB3aGF0ZXZlcjsgLy8gZG9uJ3QgcGxhY2UgcGFja2FnZSBuYW1lISAqLwoKaW1wb3J0IGphdmEudXRpbC4qOwppbXBvcnQgamF2YS5sYW5nLio7CmltcG9ydCBqYXZhLnV0aWwucmVnZXguKjsKCi8qIE5hbWUgb2YgdGhlIGNsYXNzIGhhcyB0byBiZSAiTWFpbiIgb25seSBpZiB0aGUgY2xhc3MgaXMgcHVibGljLiAqLwpjbGFzcyBJZGVvbmUKewoJcHVibGljIHN0YXRpYyB2b2lkIG1haW4gKFN0cmluZ1tdIGFyZ3MpIHRocm93cyBqYXZhLmxhbmcuRXhjZXB0aW9uCgl7CiAgICAgICAgTWF0Y2hlciBtYXRjaGVyID0gUGF0dGVybi5jb21waWxlKCJeXFx3KyQiLCBQYXR0ZXJuLlVOSUNPREVfQ0hBUkFDVEVSX0NMQVNTKS5tYXRjaGVyKCLku4rml6XYp9mE2YrZiNmFIik7CiAgICAgICAgaWYgKG1hdGNoZXIuZmluZCgpKSB7CiAgICAgICAgICAgIFN5c3RlbS5vdXQucHJpbnRsbigibWF0Y2ggZW5jb250cmFkbzogIiArIG1hdGNoZXIuZ3JvdXAoKSk7CiAgICAgICAgfQoJfQp9