私はこのようなコードコメントブロックを持っています。
/**
* This method provide inheritance to the object supplied; this method inherit the
* public methods from the Parent class to the Child class. this also provide
* multiple inheritance, in which the method ambiguity is solved by the overriding
* the last inherited class's method.
* @access public
* @method inherit
* @param Object Parent
* @param Object Child
* @return Object
*/
次のようなコメントは無視してください
/* This is a test comment for testing regex. */
私はjavascriptの正規表現を使用してこのコメントを取得するために多くのことを試みましたが、毎回失敗しました。コメントブロックを抽出するために、このソリューションまたは他のソリューションの正規表現を提案できますか?