Discovered another emacs command yesterday:
how-many
Returns the count of a regex following the point (cursor position).
For example
M-x how-many
\b\w
returns a word count from point to the end of the buffer.
Nice.
Subscribe to:
Post Comments (Atom)
3 comments:
yes. it is nice. for statistics. thanks~
I posted how to do this but I used a different regular expression: \w+
Grateful for shariing this
Post a Comment