Regex bug with initial optional parentheses

Bug #1026055 reported by Amir Zeldes
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
Revision history for this message
Thomas Krause (krause) wrote :
Thomas Krause (krause)
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.