I have a Regex module call that replaces with a string that has multiple sub-fields in it:
${img.title} and ${pubDate}
The regular expression that matches the field names here is too greedy and eats up too much of rest of the string. Making the regular expression non-greedy ( (.+?) rather than (.+) ) fixes this.
I have a Regex module call that replaces with a string that has multiple sub-fields in it:
The regular expression that matches the field names here is too greedy and eats up too much of rest of the string. Making the regular expression non-greedy ( (.+?) rather than (.+) ) fixes this.