comparison src/DLD-FUNCTIONS/regexp.cc @ 10846:a4f482e66b65

Grammarcheck more of the documentation. Use @noindent macro appropriately. Limit line length to 80 characters.
author Rik <octave@nomad.inbox5.com>
date Sun, 01 Aug 2010 20:22:17 -0700
parents 89f4d7e294cc
children 2538d03489cc
comparison
equal deleted inserted replaced
10845:c0ffe159ba1a 10846:a4f482e66b65
905 \n\ 905 \n\
906 @item ?\n\ 906 @item ?\n\
907 Match zero or one times\n\ 907 Match zero or one times\n\
908 \n\ 908 \n\
909 @item @{@}\n\ 909 @item @{@}\n\
910 Match range operator, which is of the form @code{@{@var{n}@}} to match exactly\n\ 910 Match range operator, which is of the form @code{@{@var{n}@}} to match\n\
911 @var{n} times, @code{@{@var{m},@}} to match @var{m} or more times,\n\ 911 exactly @var{n} times, @code{@{@var{m},@}} to match @var{m} or more times,\n\
912 @code{@{@var{m},@var{n}@}} to match between @var{m} and @var{n} times.\n\ 912 @code{@{@var{m},@var{n}@}} to match between @var{m} and @var{n} times.\n\
913 @end table\n\ 913 @end table\n\
914 \n\ 914 \n\
915 @item [@dots{}] [^@dots{}]\n\ 915 @item [@dots{}] [^@dots{}]\n\
916 \n\ 916 \n\
917 List operators, where for example @code{[ab]c} matches @code{ac} and @code{bc}\n\ 917 List operators, where for example @code{[ab]c} matches @code{ac} and\n\
918 @code{bc}\n\
918 \n\ 919 \n\
919 @item ()\n\ 920 @item ()\n\
920 Grouping operator\n\ 921 Grouping operator\n\
921 \n\ 922 \n\
922 @item |\n\ 923 @item |\n\
1587 regexprep(\"Bill Dunn\",'(\\w+) (\\w+)','$2, $1')\n\ 1588 regexprep(\"Bill Dunn\",'(\\w+) (\\w+)','$2, $1')\n\
1588 \n\ 1589 \n\
1589 @end group\n\ 1590 @end group\n\
1590 @end example\n\ 1591 @end example\n\
1591 \n\ 1592 \n\
1593 @noindent\n\
1592 returns \"Dunn, Bill\"\n\ 1594 returns \"Dunn, Bill\"\n\
1593 \n\ 1595 \n\
1594 @var{options} may be zero or more of\n\ 1596 @var{options} may be zero or more of\n\
1595 @table @samp\n\ 1597 @table @samp\n\
1596 \n\ 1598 \n\