regular expression for javadoc style comment

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Alessandro Crugnola

    #1

    regular expression for javadoc style comment

    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 IllegalArgument Exception if neigther the object or the function is not available.
    */

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

    ale
  • Craig Ringer

    #2
    Re: regular expression for javadoc style comment

    On Fri, 2004-12-17 at 09:40, Alessandro Crugnola wrote:[color=blue]
    > 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 IllegalArgument Exception if neigther the object or the function is not available.
    > */
    >
    > i'm finiding many difficulties to write a valid regular expression[/color]

    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?

    --
    Craig Ringer

    Comment

    Working...