Cool, any way good that it came along so that we figured out how to do it with the filter mediator.
Thanks, Ruwan On Wed, Jan 12, 2011 at 6:06 PM, Charith Wickramarachchi < charith.dhanus...@gmail.com> wrote: > > > > On Wed, Jan 12, 2011 at 4:44 PM, Hiranya Jayathilaka <hiranya...@gmail.com > > wrote: > >> >> >> On Wed, Jan 12, 2011 at 3:16 PM, Charith Wickramarachchi < >> charith.dhanus...@gmail.com> wrote: >> >> >>>>> >>> AFAIK it can't can you send a pointer for this ? Example : say i want to >>> match the regex .*Hello.* in case insensitive way. So in that case how >>> filter mediator specify it ? In regular expression ? ( thease flags are wel >>> kown ones when it comes to regex compilers :)) >>> >> >> I could be wrong, but I think we can add the prefix "?i" to the regex to >> make it case insensitive. >> >> > Hi Hiranya, > > That prefix (?i) worked . According to the > http://download.oracle.com/javase/6/docs/api/java/util/regex/Pattern.html > in Java we can use those to over come those limitations . > > So i think we can avoid using those flag mode using that prefixes. > > FYI : > CASE_INSENSITIVE (?i) > > MULTILINE (?m) > > DOTALL (?s) > > UNICODE_CASE (?u) > > > Above prefixes can be used in regex to avoid compiling using the flag > > > thanks , > Charith > > > >> Thanks, >> Hiranya >> >> -- >> Hiranya Jayathilaka >> Senior Software Engineer; >> WSO2 Inc.; http://wso2.org >> E-mail: hira...@wso2.com; Mobile: +94 77 633 3491 >> Blog: http://techfeast-hiranya.blogspot.com >> > > > > -- > Charith Dhanushka Wickramarachchi > http://charithwiki.blogspot.com/ > > -- Ruwan Linton Software Architect & Product Manager WSO2 Inc.; http://wso2.org Lean . Enterprise . Middleware phone: +1 408 754 7388 ext 51789 email: ru...@wso2.com; cell: +94 77 341 3097 blog: http://blog.ruwan.org linkedin: http://www.linkedin.com/in/ruwanlinton google: http://www.google.com/profiles/ruwan.linton tweet: http://twitter.com/ruwanlinton