summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/m4.texi11
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/m4.texi b/doc/m4.texi
index d4aa65e1..dbda71bb 100644
--- a/doc/m4.texi
+++ b/doc/m4.texi
@@ -6888,6 +6888,17 @@ index(`abc', `bc', `-4')
@result{}1
@end example
+@ignore
+@comment Expose a bug in the strstr() algorithm present in glibc
+@comment 2.9 through 2.12 and in gnulib up to Sep 2010.
+
+@example
+index(`;:11-:12-:12-:12-:12-:12-:12-:12-:12.:12.:12.:12.:12.:12.:12.:12.:12-:',
+`:12-:12-:12-:12-:12-:12-:12-:12-')
+@result{}-1
+@end example
+@end ignore
+
@node Regexp
@section Searching for regular expressions