G'day all
Iv been searching through the pattern matching information in my perl books, and i just cannot get my head around how to get the number of occurances of a particular string in a buffer...
i.e. I want to search a buffer for a particular string, to find out how many times it occurs within that buffer... Any ideas????
thanks in advance /-------------------------------------
| I always have been, and always will |
| be, a newbie
|
\-------------------------------------
Iv been searching through the pattern matching information in my perl books, and i just cannot get my head around how to get the number of occurances of a particular string in a buffer...
i.e. I want to search a buffer for a particular string, to find out how many times it occurs within that buffer... Any ideas????
thanks in advance /-------------------------------------
| I always have been, and always will |
| be, a newbie
\-------------------------------------