Quote:
Another quite similar way to do it would be to use the replacement pattern in list_re:
Code:
program: list_re(field('tags'), ',', '(\d{4})-(\d{2})-(\d{2})', '\1.\2.\3')
This implementation isn't better in any cosmic sense, but if someone is very familiar with regular expressions it might be easier to understand.
|
This is a nice one-liner!
I'm not quite familiar with regular expressions but this one i do understand and i like it!