reMatchNoCase() regex regression in 5.3.8

Description

Consider this code:

reMatchNoCase( '.*', '' )

in Lucee 5.3.7 and Adobe CF, it returns an array with one index containing an empty string.

In Lucee 5.3.8, it returns an empty array.

This regression in TestBox was caused

https://ortussolutions.atlassian.net/browse/TESTBOX-328

Activity

Show:

Pothys - MitrahSoft 9 August 2022 at 07:16

I've checked this ticket with the lucee fix versions. Now reMatchNoCase(".*", " ")returns the expected results in Lucee.

Pothys - MitrahSoft 4 August 2022 at 07:52

I've created a PR for 5.3.9 too: https://github.com/lucee/Lucee/pull/1748

Zac Spitzer 9 June 2022 at 15:50

added a reg539 to fix this in the next upcoming 5.3.9 minor release

Pothys - MitrahSoft 19 April 2022 at 06:36

, , I've created a PR to fix this in lucee 5.3: https://github.com/lucee/Lucee/pull/1621

Fixed

Details

Assignee

Reporter

New Issue warning screen

Before you create a new Issue, please post to the mailing list first https://dev.lucee.org

Once the issue has been verified, one of the Lucee team will ask you to file an issue

Affects versions

Priority

Created 2 September 2021 at 20:23
Updated 1 July 2023 at 15:16
Resolved 14 December 2021 at 14:25

Flag notifications