Skip to content

Instantly share code, notes, and snippets.

@y-ogi
Created December 25, 2013 08:03
Show Gist options
  • Save y-ogi/8121217 to your computer and use it in GitHub Desktop.
Save y-ogi/8121217 to your computer and use it in GitHub Desktop.
Objective-Cのコード上の日本語文字列を抜き出す(大体)
find ./ -name "*.m" | xargs cat | python -c "import sys,re;print('\n'.join([s for s in re.compile(r'@\"([^\"]+)\"').findall(sys.stdin.read()) if re.search(r'[^\x01-\x7E]', s)]))"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment