Menu

#3 multiline backtracking bug  Edit

None
closed
bug (1)
2018-02-04
2018-02-02
Anonymous
No

I found this bug:
mgrep xxx$^xxx$^yyy

input:
xxx
xxx
yyy

works, but for input:
xxx
xxx
xxx
yyy

mgrep doesn't report the hit I'd expect in the last 3 lines
Best regards!

Discussion

  • Anonymous

    Anonymous - 2018-02-02
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,5 +1,5 @@
     I found this bug:
    -/mgrep xxx$^xxx$^yyy
    +mgrep xxx$^xxx$^yyy
    
     input:
     xxx
    
    • Milestone: -->
     
  • Peter Istvan Lenard

    • status: open --> accepted
     
  • Peter Istvan Lenard

    Hi, confirmed, indeed a bug. Will look into it. Thanks!

     
  • Peter Istvan Lenard

    Fixed in v1.1.2. Thanks for posting a ticket and for the clean repro.

    Best regards,

    Istvan

     
  • Peter Istvan Lenard

    • status: accepted --> closed
     

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB