Project

Profile

Help

Bug #2390

closed

Wrong result from replace()

Added by Michael Kay over 9 years ago. Updated almost 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
XPath conformance
Sprint/Milestone:
Start date:
2015-06-03
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

From Gerrit Imsieke on saxon:help list:

In PE 9.6.0.5, this expression:

replace('abc', '^.+?(b+)?$', '$1')

gives the unexpected result 'b' instead of ''.

Please register to edit this issue

Also available in: Atom PDF