We're updating the issue view to help you get more done. 

Wrong groups values when pattern contains quoted bracket

Description

When the regex pattern contains a \Q-quoted open-bracket (as in example below), the subsequent named-groups return incorrect values.

1 \Qxyz [\E(?<foo>abc)(?<bar>def)

which is equivalent to:

1 xyz \[(?<named>abc)(?<bar>def)

This is caused by the change in 0.2.2 that allows parentheses inside a character-class (REGEX-20).

Environment

None

Status

Assignee

TonyT

Reporter

TonyT

Labels

None

Fix versions

Affects versions

0.2.2

Priority

Major