Hello Noel, Please find the attached regular expression matcher for attachments. I have named the file "AttachmentFileNameIsRegex.java" with "FileName" having "N" as caps like in "AttachmentFileNameIs.java"
Location: src\java\org\apache\james\transport\matchers Please let me know if my submission procedure is too weird. Thanks. I had promised test cases but have found it impossible for now to create a testcase. I have run into issues like "how to set up a context" for the getCondition() call, creating a session(?), etc. Any pointers where I can find information on this issue? Also would it be ok to create a package called "test.org.apache....." for the testcases. Thanks and sorry for so many queries ;-) - Virender -----Original Message----- From: Noel J. Bergman [mailto:[EMAIL PROTECTED] Sent: Monday, July 14, 2003 12:05 AM To: James Developers List Subject: RE: would matcher AttachmentFilenameIsRegex be of use > would my patch to extend "AttachmentFilenameIs" or create > "AttachmentFilenameIsRegex" be acceptable to the group? Creating AttachmentFilenameIsRegex would be fine. I thought that someone was going to do it, but if you've got it done, please submit. :-) --- Noel --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.497 / Virus Database: 296 - Release Date: 7/4/2003
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
