# HG changeset patch # User Rik # Date 1373244938 25200 # Node ID 908b4956cbfddc856144be4968a287597f2a4ba0 # Parent ab46b5c77669934edfe50cd02b23d93089a179b5 doc: remove '\b' from list of special regexp sequences (bug #38778). * libinterp/corefcn/regexp.cc(Fregexp): remove '\b' from list of special regexp sequences (bug #38778). diff -r ab46b5c77669 -r 908b4956cbfd libinterp/corefcn/regexp.cc --- a/libinterp/corefcn/regexp.cc Sat Apr 20 14:39:25 2013 -0400 +++ b/libinterp/corefcn/regexp.cc Sun Jul 07 17:55:38 2013 -0700 @@ -647,11 +647,18 @@ In addition, the following escaped characters have special meaning.\n\ \n\ @table @code\n\ -@item \\b\n\ -Match a word boundary\n\ +\n\ +@item \\d\n\ +Match any digit\n\ \n\ -@item \\B\n\ -Match within a word\n\ +@item \\D\n\ +Match any non-digit\n\ +\n\ +@item \\s\n\ +Match any whitespace character\n\ +\n\ +@item \\S\n\ +Match any non-whitespace character\n\ \n\ @item \\w\n\ Match any word character\n\ @@ -665,17 +672,8 @@ @item \\>\n\ Match the end of a word\n\ \n\ -@item \\s\n\ -Match any whitespace character\n\ -\n\ -@item \\S\n\ -Match any non-whitespace character\n\ -\n\ -@item \\d\n\ -Match any digit\n\ -\n\ -@item \\D\n\ -Match any non-digit\n\ +@item \\B\n\ +Match within a word\n\ @end table\n\ \n\ Implementation Note: For compatibility with @sc{matlab}, ordinary escape\n\