8 Commits
Author SHA1 Message Date
Paolo Bonzini f94164fd9f fix bug with s/[[[]//
2009-05-11  Paolo Bonzini  <bonzini@gnu.org>

	* sed/compile.c (snarf_char_class): Fix logic bug with [[[ in regular
	expressions (and a possibly uninitialized use of variable delim stemming
	from the bug).  Uninitialized variable bug reported by Zhongxing Xu.
	* testsuite/brackets.good: New.
	* testsuite/brackets.inp: New.
	* testsuite/brackets.sed: New.
	* testsuite/Makefile.am: Add test.
	* testsuite/Makefile.tests: Add test.
2009-05-11 10:56:05 +02:00
Paolo Bonzini 100396401f fix y/[/X/ and add more testcases for the y command
Patches applied:

 * bonzini@gnu.org--2004b/sed--stable--4.1--patch-62
   fix y/[/X/ and add more testcases for the y command

git-archimport-id: bonzini@gnu.org--2004b/sed--ssed--3.61--patch-27
2008-01-09 16:14:04 +01:00
Paolo Bonzini bb3c41042c sync with sed--stable--4.1
Patches applied:

 * bonzini@gnu.org--2004b/sed--stable--4.1--patch-45
   do not add a default command-line in in-place editing mode

 * bonzini@gnu.org--2004b/sed--stable--4.1--patch-47
   fix handling of [^]xyz]

 * bonzini@gnu.org--2004b/sed--stable--4.1--patch-48
   add cache variable for -lcP test

 * bonzini@gnu.org--2004b/sed--stable--4.1--patch-49
   update FSF address

 * bonzini@gnu.org--2004b/sed--stable--4.1--patch-50
   more updates to the FSF address

 * bonzini@gnu.org--2004b/sed--stable--4.1--patch-51
   merge regex with glibc and adjust doc/.arch-inventory

 * bonzini@gnu.org--2004b/sed--stable--4.1--patch-52
   fix 0~2, signaled by Guglielmo Bondioni

 * bonzini@gnu.org--2004b/sed--stable--4.1--patch-53
   provide a better name for the man page

 * bonzini@gnu.org--2004b/sed--stable--4.1--patch-55
   remove RCS markers

 * bonzini@gnu.org--2004b/sed--stable--4.1--patch-56
   fix typo in docs/Makefile.am

 * bonzini@gnu.org--2004b/sed--stable--4.1--patch-57
   add LANG_SORBIAN and other mingw fixes

 * bonzini@gnu.org--2004b/sed--stable--4.1--patch-58
   fix sed faq address

git-archimport-id: bonzini@gnu.org--2004b/sed--ssed--3.61--patch-24
2008-01-09 16:14:03 +01:00
Paolo Bonzini 8e23ae8366 implemented [[.a.]] and [[=a=]]
2005-02-10  Paolo Bonzini  <bonzini@gnu.org>

	* pcre/regposix.c (compile_branch_posix): Support [[.a.]] and
	[[=a=]] in a crippled way.
	* testsuite/pcre2.inp, testsuite/pcre2.good, testsuite/pcre2p.good:
	Test for it.

git-archimport-id: bonzini@gnu.org--2004b/sed--ssed--3.61--patch-20
2008-01-09 16:14:01 +01:00
Paolo Bonzini faaf9ad2cd sync with sed--stable--4.1
2005-02-10  Paolo Bonzini  <bonzini@gnu.org>

	* testsuite/appquit.good, testsuite/appquit.inp,
	testsuite/appquit.sed: New testcase.
	* testsuite/readin.sed: Quit after the last r command.
	* testsuite/readin.good: Adjust.
	* sed/execute.c (execute_program): Dump the results of the
	a/r/R commands just before quitting.

2005-02-10  Paolo Bonzini  <bonzini@gnu.org>

	* sed/regexp.c: Fix off-by-one error in the "invalid reference
	to subexpression" message.  Debian bug 294339.

Patches applied:

 * bonzini@gnu.org--2004b/sed--stable--4.1--patch-42
   fix debian bug 294339

 * bonzini@gnu.org--2004b/sed--stable--4.1--patch-43
   fix crash on /\(\)/x

 * bonzini@gnu.org--2004b/sed--stable--4.1--patch-44
   fix a/r/R commands when q is encountered

git-archimport-id: bonzini@gnu.org--2004b/sed--ssed--3.61--patch-19
2008-01-09 16:14:01 +01:00
Paolo Bonzini a3f130089b do not use leftmost-longest matching for addresses.
Patches applied:

 * bonzini@gnu.org--2004b/sed--stable--4.1--patch-33
   do not use leftmost-longest matching for addresses.

git-archimport-id: bonzini@gnu.org--2004b/sed--ssed--3.61--patch-15
2008-01-09 16:13:59 +01:00
Paolo Bonzini a620e7d5fb initial ssed import
Patches applied:

 * bonzini@gnu.org--2004/sed--stable--4.1--base-0
   initial import

git-archimport-id: bonzini@gnu.org--2004b/sed--ssed--3.61--patch-1
2008-01-09 16:13:48 +01:00
Paolo Bonzini 9c9919efe2 initial import
(automatically generated log message)

git-archimport-id: bonzini@gnu.org--2004b/sed--stable--4.1--base-0
2004-10-20 21:42:31 +00:00