Quote:
Originally Posted by fidvo
This will work in cases where there's only one division (space-slash-space) in each tag. Maybe someone smarter than me can figure out how to fix it so it works for an arbitrary number of divisions.
|
That is all that is needed. Tag mapper rules apply repeatedly to their own output (upto a hard limit of twenty times)
So the solution is simple:
pattern: ([^/]+) / ([^/]+)
replace: \1, \2
This will cause: a / b / c /d
to become: a, b, c, d
The only case it does not handle is leading and trailing slashes, which I leave as an exercise for the reader.
I might look into adding a separate split action in addition to replace, which will make this particular class of operations more intuitive.