Home Forums Help needed Auto-Tagging OR expression in “contains in the file name”

Viewing 3 reply threads
  • Author
    Posts
    • Sigi K
      Participant
      Post count: 3

      Hey Everyone,

      How do I use an OR expression in the field “and the file contains -> in the file name” ?

      Example: I want all Files that contain either “bass, -02-, bas2, fretless” in the filename to be tagged as SMF Bass. It only works if I type in one of them like “bass”

      I tried to seperate them by a space, or a comma, or even a | but it seems that all of those are AND expressions and not OR.

    • Sigi K
      Participant
      Post count: 3

      Hm, this topic says it has 2 replies… but I see none

    • Andrea
      Keymaster
      Post count: 963

      Hi,

      there is no way to have an “OR” there.

      You can have an OR using a regular expression:

      https://tabbles.net/wiki/index.php?title=Regular_expressions#Library_of_working_regular_expressions

    • Sigi K
      Participant
      Post count: 3

      The logical expression for OR would be |

      so I tried to use “bass|bas2|fretless” in the rule and it doesn’t tag files containing either “bass”, “bas2”, “fretless” somewhere in their filename, do regular expressions only work for extensions and not filenames?

Viewing 3 reply threads
  • You must be logged in to reply to this topic.