This content has been marked as final.
Show 1 reply
-
1. Re: Camel FTP Endpoint REGEX Pattern
davsclaus Apr 7, 2009 4:43 AM (in response to xyber)Hi
Its highly your regex pattern that is wrong. You can always try with some regular java code to simulate a filename and use String.matches I think it is.
But the problem is that you use *zip that will only match "zip". You need to a dot or the likes in front of the * qualifier. eg ".*zip" to indicate that there can be an 0..n chars and then zip.
0..n = the *
chars = the . (dot)