Skip to content

Instantly share code, notes, and snippets.

@keedi
Created April 19, 2010 17:34
Show Gist options
  • Save keedi/371331 to your computer and use it in GitHub Desktop.
Save keedi/371331 to your computer and use it in GitHub Desktop.
#!/usr/bin/perl
use common::sense;
use Encode;
while (<>) {
$_ = decode('utf-8', $_);
my @found = m/[ㄱ-힣]+/g;
say "[$_]" for @found;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment