Mercurial > octave-nkf
view .hgignore @ 14536:6d5c951ec520
Add 'emptymatch', 'noemptymatch' options to regular expressions.
* NEWS: Announce new options.
* liboctave/regexp.cc (regexp::match): Add processing option for zero length
matches.
* liboctave/regexp.h (class opts): Add emptymatch option to constructors,
setter/getter routines, private variable.
* DLD-FUNCTIONS/regexp.cc (parse_options): Add emptymatch to options parsing routine.
* DLD-FUNCTIONS/regexp.cc (octregexp): Ignore emptymatch when determing output ordering
of arguments.
* DLD-FUNCTIONS/regexp.cc (Fregexp): Add new options to docstring. Add %!tests for new
behavior.
* DLD-FUNCTIONS/regexp.cc (Fregexprep): Add %!tests for new behavior.
author | Rik <octave@nomad.inbox5.com> |
---|---|
date | Sat, 07 Apr 2012 09:43:53 -0700 |
parents | 95b1c64c287f |
children | 2f2fb099ac3a |
line wrap: on
line source
syntax: regexp # The recurrent (^|/) idiom in the regexps below should be understood # to mean "at any directory" while the ^ idiom means "from the # project's top-level directory". # This one gets created by gnulib during the build, contains no Octave # files. ^gnulib/ # These directories mostly contain cruft during build time, but they # do contain some Octave code. ^libgnu/ ^m4/ # Emacs tools create these (^|/)TAGS$ (^|/)semantic.cache$ (/|^)Makefile\.in$ ^INSTALL$ ^aclocal\.m4 ^build-.*($|/) ^configure$ ^autom4te\.cache($|/) ^config\.h\.in$ # e.g. doc/faq/OctaveFAQ.info # doc/interpreter/octave.info-4 ^doc/.*\.info(-\d)?$ ^doc/\w*/stamp-vti$ ^doc/\w*/version\.texi$ ^doc/interpreter/images\.mk$ # e.g. liboctave/smx-op-inc.mk ^liboctave/[\w-]*\.mk$ ^src/DLD-FUNCTIONS/module\.mk$