Closed josteinaj closed 9 years ago
@usama49
I'm unable to reproduce it on my computer. It seems to be a regex issue though: https://saxonica.plan.io/issues/1991
This regex is the most likely culprit:
<!-- ISBN is in a non-standard position => do a broader search in frontmatter -->
<xsl:variable name="isbn" select="(//level1//text()[matches(.,'^.*?ISBN[:\s]*([\d\- ]+)([^\d\- ]|$).*?$')]/replace(replace(.,'^(|.*?\s*)ISBN[:\s]*([\d\- ]+)([^\d\- ].*?$|$)','$2'),'[^\d]',''))[1]"/>
I will rewrite it in a less resource-intensive way and see if that helps.