#82 Grep replace does not allow escape characters

Closed
closed-fixed
nobody
None
5
1 day ago
1 day ago
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

    • 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

    • status: open --> closed-fixed
     
  • Thomas Mueller

    fixed in revision #2392

     

Log in to post a comment.