Menu

#82 Grep replace does not allow escape characters

Closed
closed-fixed
nobody
None
5
2018-08-26
2018-08-26
No

Grep replace does not allow escape characters like \t or \x20.

(Looking at the code, the problem seems to be in unit RegExpr, method TRegExpr.Substitute. There it checks for "\" but simply ignores it rather than expanding it.)

Discussion

  • Thomas Mueller

    Thomas Mueller - 2018-08-26
    • summary: Grep replace does not allow excape characters --> Grep replace does not allow escape characters
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,3 +1,3 @@
    -Grep replace does not allow excape characters like \t or \x20.
    +Grep replace does not allow escape characters like \t or \x20.
    
     (Looking at the code, the problem seems to be in unit RegExpr, method TRegExpr.Substitute. There it checks for "\" but simply ignores it rather than expanding it.)
    
     
  • Thomas Mueller

    Thomas Mueller - 2018-08-26
    • status: open --> closed-fixed
     
  • Thomas Mueller

    Thomas Mueller - 2018-08-26

    fixed in revision #2392

     

Log in to post a comment.

MongoDB Logo MongoDB