Hi, is there any regex guru who can help me to understand plugboard template "
Show author name as Initial and Surname (Kindle) (inspired by brewjono)"? Im afraid i dont fully understand the syntax:
Code:
{author_sort:re(\, (.).*?( &|$),\, \1\2)}
When input from
author_sort is for example "
Goyal, Kovid" regex above produces "
K Goyal".
How the regex matches the string and how replaces the field?