[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #54592] regexprep gets confused when parenthes

From: Docf
Subject: [Octave-bug-tracker] [bug #54592] regexprep gets confused when parentheses should be processed
Date: Wed, 29 Aug 2018 08:39:45 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:61.0) Gecko/20100101 Firefox/61.0


                 Summary: regexprep gets confused when parentheses should be
                 Project: GNU Octave
            Submitted by: docfr
            Submitted on: Wed 29 Aug 2018 12:39:44 PM UTC
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Unexpected Error
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.4.0
        Operating System: Microsoft Windows



When parentheses  should be processed e.g. regexprep("tes)t", ')', '') Octave
returns "error: regexprep: unmatched parentheses at position 0 of expression"

The command regexprep("tes!t", '!', '') will just remove the ! 
This works as expected. There seems to be check for balance of parentheses
this must be removed here. 


Reply to this item at:


  Message sent via Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]