regular expression for javadoc style comment

  • Thread starter Alessandro Crugnola
  • Start date
A

Alessandro Crugnola

Hi all,
i need to use a regular expression to match javadoc style comments in a file,
something like

/**
* Constructs a new Call instance.
*
* @param object the object the Function shall be executed on
* @param func the Function that shall be executed
* @throws IllegalArgumentException if neigther the object or the function is not available.
*/

i'm finiding many difficulties to write a valid regular expression

ale
 
C

Craig Ringer

Hi all,
i need to use a regular expression to match javadoc style comments in a file,
something like

/**
* Constructs a new Call instance.
*
* @param object the object the Function shall be executed on
* @param func the Function that shall be executed
* @throws IllegalArgumentException if neigther the object or the function is not available.
*/

i'm finiding many difficulties to write a valid regular expression

It would be good if you could post some of the things you've tried, and
perhaps a little more detail about what you're trying to match. Are you
trying to match the comment as a whole, eg "this is a javadoc comment",
or are you trying to extract parts of it?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,214
Messages
2,571,112
Members
47,705
Latest member
noname22

Latest Threads

Top