Regex bug with initial optional parentheses

Bug #1026055 reported by Amir Zeldes on 2012-07-18
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ANNIS
Triaged
Critical
Thomas Krause

Bug Description

When using Regex matches, an optional parentheses is ignored. For example:

pos=/(APPR)?ART/

only finds pos="ART", but not pos="APPR"

The following query works fine:

pos=/^(APPR)?ART/

Tags: bug Edit Tag help
Thomas Krause (krause) on 2012-07-26
Changed in annis:
status: New → Confirmed
milestone: none → 3.0.0
status: Confirmed → Triaged
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers