Subscribe

higepon blog

2008-06-22

Emacs でマッチしたものを数える

emacs lisp

Emacs でマッチしたものを数えるには count-match を使う。
例えば append という手続きがソースコード中で何回呼ばれているかを調べるには

  • M-x count-match と入力
  • append と入力し Enter

する。
正規表現を指定するので lambda\|define のような条件入力も可能。

higepon 2008-06-22 16:37

Bookmark this entry on Hatena::Bookmark
Tweet
Remove all ads
  • Read more
Write a comment
« append問題 プロファイラの結果を眺めるなどした »
Profile
id:higepon id:higepon
Subscribed unsubscribe Subscribe Subscribe
About this blog
Search
Links
  • Hatena Blog
  • ブログをはじめる
  • Weekly Hatena Blog
  • Hatena Blog Pro
Recent Entries
  • Machine Learning Design Patterns
  • MATHEMATICS FOR MACHINE LEARNING の読書記録
  • Indoor Location & Navigation コンペ振り返り
  • Visual Studio Code キーバインディング微調整
  • Riiid コンペ復習 - maskingなど
Archive

Start using Hatena Blog!

higepon is using Hatena Blog. Would you like to try it too?

Start using Hatena Blog (Free)
What is Hatena Blog?
higepon blog higepon blog

Powered by Hatena Blog | ブログを報告する

Quote saved.

Login to quote this blog

Failed to save quote. Please try again later.

You cannot quote because this article is private.

Subscribed unsubscribe Subscribe Subscribe