Project

Profile

Help

Bug #3712

closed

Simple regular expression not matching when it should

Added by Matt Patterson over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
XPath conformance
Sprint/Milestone:
-
Start date:
2018-03-06
Due date:
% Done:

100%

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

Description

The regular expression ([A-Z])\1* Doesn't match the string 'A', but does match 'AA'. In all other Regex implementations I've tried, (Ruby, Python, JS), it works as expected.

Seen in Oxygen using 9.7 EE and 9.8 PE, and using XSpec with 9.7 EE and the Ant-based runner in Oxygen.


Files

saxon-regex-bug.xsl (370 Bytes) saxon-regex-bug.xsl Matt Patterson, 2018-03-06 17:26

Please register to edit this issue

Also available in: Atom PDF