suppression filter regex

"Ben Dean" <[email protected]> Mon, 1 Dec 2008 15:06:47 -0500
Newsgroups gmane.comp.java.audit.checkstyle.user
Message-ID <E136FE1D195A7B4AAE3E285E948323581808B4D2@munexch.ontariosystems.com>
I've been trying to use a regular expression to suppress various checkstyle javadoc modules for all files *except* ones that are in an api package. I've tested the following regex with some online java regex testing applets and it seems to work there but I cannot get it to work when I run checkstyle the suppression filter looks like this:

      <suppress checks="JavadocType" files="^([^a]|a[^p]|ap[^i])*$" />

Does anyone know a way to suppress modules for every file except ones that match a given pattern (in other words, only apply to files that match the pattern). This is pretty much the opposite of what the suppression filter does normally.

-- Ben

Attention: This message and all attachments are private and may contain
information that is confidential and privileged. If you received this
message in error, please notify the sender by reply email and delete
the message immediately.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/

_______________________________________________
Checkstyle-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/checkstyle-user