Regex to match javadoc style comments
- by Anant
I have files having content like
/**
* Some Content
* @param ..
* @author ..
*
*/
function a_sample_function ( $args = '' ) {
I need to extract the text
Some Content
@param ..
@author ..
given a function name a_sample_function ( the * can be removed by a gsub later I believe)
I'm writing this in ruby.