Re: RegexpHeader not working with a regexp expression
"Oliver Burn" <[email protected]>
| Newsgroups | gmane.comp.java.audit.checkstyle.user |
|---|---|
| Message-ID | <[email protected]> |
Try double back quoting the regular expression. That is (?s)/\\*.*Copyright.*?\\*/ On 4/17/07, emerson cargnin <[email protected]> wrote: > I have this expression: > > (?s)/\*.*Copyright.*?\*/ > > This would ensure that any comment at the beginning of the file having > the "Copyright" on it would match word > > this works inside eclipse find (using reg exp) but not when using > checkstyle 4.1 > > any clues? > Emerson > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Checkstyle-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/checkstyle-user > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Checkstyle-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/checkstyle-user