Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
regular expression in tagUpdate
25-10-2014, 17:20
Post: #1
regular expression in tagUpdate
As far as I understood, tagUpdate aims at rewriting tags. An example of this from the user guide:

Quote:@ARTIST=John Eliot Gardiner, The Monteverdi Choir
=ARTIST=The Monteverdi Choir
+CONDUCTOR=John Eliot Gardiner

Question: Is it possible to use regular expressions or something like that for tag rewriting? An example would be:

Quote:@ARTIST=#1, #2
=ARTIST=#2
+CONDUCTOR=#1

which would have the same result as above, but not only for Mr. Gardiner.


Background: I've LOTS of tagged classical music for which no conductor, orchestra and soloists tags are used, but ARTIST is composed of [CONDUCTOR] ", " [ORCHESTRA] "(" [SOLOISTS] ")". A rewriting rule such as

Quote:@ARTIST=#1, #2 ( #3 )
=ARTIST=#2
+CONDUCTOR=#1
+SOLOISTS=#3


would be very handy Blush


Thanks in advance, Hafer
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
regular expression in tagUpdate - Hafer - 25-10-2014 17:20

Forum Jump:


User(s) browsing this thread: 1 Guest(s)