Project

Profile

Help

Bug #3712 ยป saxon-regex-bug.xsl

Matt Patterson, 2018-03-06 17:26

 
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
exclude-result-prefixes="xs"
version="2.0">
<xsl:template name="main">
<should-be-true><xsl:value-of select="matches('A', '([A-Z])\1*')"/></should-be-true>
</xsl:template>
</xsl:stylesheet>
    (1-1/1)