|
From: | Rik |
Subject: | [Octave-bug-tracker] [bug #44641] strsplit fails to split with a delimiter of '<' or '>' |
Date: | Fri, 27 Mar 2015 17:16:35 +0000 |
User-agent: | Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:36.0) Gecko/20100101 Firefox/36.0 |
Follow-up Comment #2, bug #44641 (project octave): The intent of the code is to escape anything that might look like a special character to a regular expression. The code currently takes anything which is not a work character and escapes it which works great for '?' which is escaped to '\?'. Unfortunately, '\>' and '\<' are actual regular expressions themselves which mean end-of-word and beginning-of-word. Need to take a look at the PCRE reference manual and determine if there are any other such special expressions preceded by a slash and add them to line 191 in strsplit.m. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?44641> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |