Displaying 6 results from an estimated 6 matches for "matchtype".
Did you mean:
machtype
2005 Jan 31
1
[patch] add "--ignore" option
...DE if file "name" is defined to be excluded by the
specified
+ * exclude list, M_INCLUDE if it is included, M_IGNORE if it is flagged to
be
+ * ignored, and M_NOMATCH (aka 0) if it was not matched.
*/
-int check_filter(struct filter_list_struct *listp, char *name, int
name_is_dir)
+enum matchtype check_filter(struct filter_list_struct *listp, char *name,
int name_is_dir)
{
struct filter_struct *ent;
for (ent = listp->head; ent; ent = ent->next) {
if (ent->match_flags & MATCHFLG_PERDIR_MERGE) {
- int rc = check_filter(ent->u.mergelist, name,
- name_is_di...
2012 Sep 07
1
[LLVMdev] teaching FileCheck to handle variations in order
...cpp
index 33f04ce..b6c4f51 100644
--- a/utils/FileCheck/FileCheck.cpp
+++ b/utils/FileCheck/FileCheck.cpp
@@ -50,11 +50,23 @@ NoCanonicalizeWhiteSpace("strict-whitespace",
//===----------------------------------------------------------------------===//
class Pattern {
+public:
+ enum MatchType {
+ MatchStr,
+ MatchCurrent,
+ MatchEndOfFile
+ };
+
+private:
SMLoc PatternLoc;
- /// MatchEOF - When set, this pattern only matches the end of file. This is
- /// used for trailing CHECK-NOTs.
- bool MatchEOF;
+ /// MatchType - When set to ...
+ /// MatchStr, this pattern m...
2012 Sep 07
5
[LLVMdev] teaching FileCheck to handle variations in order
...cpp
index 33f04ce..9f6a64a 100644
--- a/utils/FileCheck/FileCheck.cpp
+++ b/utils/FileCheck/FileCheck.cpp
@@ -50,11 +50,23 @@ NoCanonicalizeWhiteSpace("strict-whitespace",
//===----------------------------------------------------------------------===//
class Pattern {
+public:
+ enum MatchType {
+ MatchStr,
+ MatchCurrent,
+ MatchEndOfFile
+ };
+
+private:
SMLoc PatternLoc;
- /// MatchEOF - When set, this pattern only matches the end of file. This is
- /// used for trailing CHECK-NOTs.
- bool MatchEOF;
+ /// MatchType - When set to ...
+ /// MatchStr, this pattern m...
2012 Sep 07
0
[LLVMdev] teaching FileCheck to handle variations in order
On 9/7/2012 7:20 AM, Matthew Curtis wrote:
>
> The attached patch implements one possible solution. It introduces a
> position stack and a couple of directives:
>
> * 'CHECK-PUSH:' pushes the current match position onto the stack.
> * 'CHECK-POP:' pops the top value off of the stack and uses it to set
> the current match position.
>
> The above
2019 Feb 20
5
sieve filter not working
I've Dovecot and dovecot-sieve v 2.2.27 installed on a Debian 9.6. I'm
trying to set a Sieve filter which will redirect all emails from `info`
(i.e. .info) TLD to another email. This is the filter:
require ["regex"];
# rule:[test]
if header :regex "from" "info$"
{
redirect "subbs at domain.com";
}
It's not being honored; all emails from .info
2019 Feb 20
0
sieve filter not working
Why do you use regex ?
You can just use matches: https://p5r.uk/blog/2011/sieve-tutorial.html#matchtype (https://p5r.uk/blog/2011/sieve-tutorial.html#matchtype)
On Wed, Feb 20, 2019 at 03:31 AM, subin ks via dovecot wrote: I've Dovecot and dovecot-sieve v 2.2.27 installed on a Debian 9.6. I'm trying to set a Sieve filter which will redirect all emails from `info` (i.e. .info) TLD to another...