Project

Profile

Help

Bug #2166

closed

Wrong result from fn:replace

Added by Michael Kay about 10 years ago. Updated almost 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
XPath conformance
Sprint/Milestone:
Start date:
2014-10-07
Due date:
% Done:

100%

Estimated time:
Legacy ID:
Applies to branch:
9.6
Fix Committed on Branch:
9.6
Fixed in Maintenance Release:
Platforms:

Description

Reported by Gunther Rademacher:

This expression,

 replace("12-34", "^\d+(-(\d+))?$", "$2")

with Saxon 9.6, returns "3", while 9.5 returned the correct

result of "34".

Please register to edit this issue

Also available in: Atom PDF