|
| From: | Pantxo Diribarne |
| Subject: | [Octave-bug-tracker] [bug #54592] regexprep gets confused when parentheses should be processed |
| Date: | Wed, 29 Aug 2018 10:23:00 -0400 (EDT) |
| User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0 |
Update of bug #54592 (project octave):
Status: None => Invalid
Open/Closed: Open => Closed
_______________________________________________________
Follow-up Comment #1:
Parenthesis are reserved grouping characters (see "help regexp") so you need
to escape them:
regexprep("tes)t", '\)', '')
Note the \ character.
Closing report as invalid.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?54592>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
| [Prev in Thread] | Current Thread | [Next in Thread] |