Menu

Accept and Reject Patterns

Help
2000-06-02
2004-08-23
  • Rob Buscomm

    Rob Buscomm - 2000-06-02

    I'm looking for help on Accept and Reject patterns.  Just a couple of examples.
    Can you use regular expressions?  Are the patterns case sensitive?

    Thanks,
          M

     
    • Anonymous

      Anonymous - 2000-12-10

      NOT case sensitive!
      -a '*clapton*' -a '*cocker*'
      matches any subjects with:
      CoCkEr, CLAPTON,  clapTon
      if you would like to get only specific filetypes use:
      -a '*clapton*.midi*'

       
    • Jason Dunsmore

      Jason Dunsmore - 2004-08-23

      is there a way to include spaces?  i'm not sure if this is working correctly.

      Reject: {*microsoft* {* ms *} {* vb *} *visual* *windows* {* .net *} {* ado *} *msce* *csharp* *audio*}

       
      • Akos Polster

        Akos Polster - 2004-08-23

        Yes, and your patterns look fine. From the command line, for example:

        brag -a '*accept this*' ...

        ~ Akos.

         

Log in to post a comment.

MongoDB Logo MongoDB