[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #54592] regexprep gets confused when parenthes
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #54592] regexprep gets confused when parentheses should be processed |
Date: |
Thu, 30 Aug 2018 16:52:57 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0 |
Update of bug #54592 (project octave):
Status: Confirmed => Need Info
_______________________________________________________
Follow-up Comment #4:
I'm very surprised this works. Using Perl directly
perl -pe 's/)//' "tes)t"
Unmatched ) in regex; marked by <-- HERE in m/) <-- HERE / at -e line 1.
Could you run the following in your version of Matlab and then upload the
diary file?
diary on
computer
version
regexprep ('tes)t', ')', '')
regexprep ('tes)t', ')', 'abc')
regexprep ('tes)t', '(', '')
regexprep ('te(s)t', '(s)', '')
diary off
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?54592>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #54592] regexprep gets confused when parentheses should be processed, Docf, 2018/08/29
- [Octave-bug-tracker] [bug #54592] regexprep gets confused when parentheses should be processed, Pantxo Diribarne, 2018/08/29
- [Octave-bug-tracker] [bug #54592] regexprep gets confused when parentheses should be processed, Docf, 2018/08/29
- [Octave-bug-tracker] [bug #54592] regexprep gets confused when parentheses should be processed, Pantxo Diribarne, 2018/08/30
- [Octave-bug-tracker] [bug #54592] regexprep gets confused when parentheses should be processed,
Rik <=
- [Octave-bug-tracker] [bug #54592] regexprep gets confused when parentheses should be processed, Docf, 2018/08/31
- [Octave-bug-tracker] [bug #54592] regexprep gets confused when parentheses should be processed, Philip Nienhuis, 2018/08/31
- [Octave-bug-tracker] [bug #54592] regexprep gets confused when parentheses should be processed, Mike Miller, 2018/08/31
- [Octave-bug-tracker] [bug #54592] regexprep gets confused when parentheses should be processed, Rik, 2018/08/31