Commit 57c50baa authored by Benno Schulenberg's avatar Benno Schulenberg
Browse files

Allowing the use of word boundary markers \< and \> in search strings on

non-GNU systems.  This is a partial fix for Savannah bug #47325.


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5731 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
parent 4712fc06
Showing with 6 additions and 1 deletion
+6 -1
2016-03-13 Benno Schulenberg <bensberg@justemail.net>
* src/search.c (regexp_init): Allow using the word boundary markers
\< and \> in search strings on non-GNU systems. This is a partial
fix for Savannah bug #47325 reported by Thomas Rosenau.
2016-03-13 Thomas Rosenau <thomasr@fantasymail.de> (tiny change)
* autogen.sh, README.SVN: Mention SVN instead of CVS.
......
......@@ -48,7 +48,7 @@ bool regexp_init(const char *regexp)
assert(!regexp_compiled);
rc = regcomp(&search_regexp, regexp, REG_EXTENDED
rc = regcomp(&search_regexp, fixbounds(regexp), REG_EXTENDED
#ifndef NANO_TINY
| (ISSET(CASE_SENSITIVE) ? 0 : REG_ICASE)
#endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment