[ 
https://issues.apache.org/jira/browse/JSIEVE-19?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12595835#action_12595835
 ] 

Stefano Bagnara commented on JSIEVE-19:
---------------------------------------

For the moment I wrote a sieve matches pattern to java regex pattern translator 
and replaced the whole Glob/ORO stuff in jSieve.
Code is not tested, but I think this is the right solution: raise your voice to 
complain ;-)

I'll add some tests next week if noone preceed me.

> Open square bracket as first char in matching pattern does not work
> -------------------------------------------------------------------
>
>                 Key: JSIEVE-19
>                 URL: https://issues.apache.org/jira/browse/JSIEVE-19
>             Project: jSieve
>          Issue Type: Bug
>    Affects Versions: 0.2
>            Reporter: Stefano Bagnara
>            Assignee: Stefano Bagnara
>             Fix For: 0.2
>
>
> this rule
> if header :matches \"X-Caffeine\" \"[test]*\" {throwTestException;}
> does not match for 
> X-Caffeine: [test] something
> Removing the open square or moving it as the second char instead works.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to