summaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* test/runtest.lua: really don't run buffer tests when alien not foundReuben Thomas2013-01-071-0/+1
|
* Replace build systems with LuaRocks.Reuben Thomas2012-10-042-6/+6
| | | | | | | | A single Makefile remains to take care of tests, distribution, release and documentation. As a result, rockspecs are automatically generated for all lrexlib flavours (previously, only POSIX and PCRE were available).
* Add the ability to use raw memory blocks as subjects.Reuben Thomas2012-09-294-8/+40
| | | | | | | | The implementation is in algo.h, in the new check_subject function. Usage is documented in manual.txt. Optional tests have been added, using alien buffers.
* runtest.lua: Add a test set for POSIX regex engine. (Thanks to Enrico Tassi.)Reuben Thomas2012-04-181-0/+1
|
* Fix and refactor.Shmuel Zeigerman2012-04-061-1/+1
|
* 1. Define REX_CREATEGLOBALVAR only for Lua 5.1 build.Shmuel Zeigerman2012-04-061-12/+5
| | | | 2. TRE: add macro REX_ADDWIDECHARFUNCS (undefined by default).
* Lua 5.2 compatibility.Shmuel Zeigerman2012-04-031-1/+1
|
* TRE binding: add wide-character functions.Shmuel Zeigerman2012-02-131-0/+31
|
* Removed function plainfind.Shmuel Zeigerman2012-02-132-46/+0
|
* TRE binding: add wide-character functions.Shmuel Zeigerman2012-02-121-69/+69
|
* Test suite: avoid using sysutils library.Shmuel Zeigerman2012-02-121-3/+1
|
* 1. TRE binding: add wide-character functions.Shmuel Zeigerman2012-02-123-24/+374
| | | | 2. Test suite: fix and refactor.
* luatest.lua: 1) bugfix; 2) don't use `module' function;Shmuel Zeigerman2011-10-051-17/+19
|
* Remove incorrect comments and add a test. (Shmuel)Reuben Thomas2010-10-042-6/+1
|
* Change name of flag in test.Reuben Thomas2010-10-031-1/+1
|
* Remove gnu_rex.setsyntax, reimplement syntax flags as compilationReuben Thomas2010-09-121-4/+5
| | | | | | | | | | | | flags, adding the per-feature flags (which is why we need them to be numbers, not strings, so they can be combined). Hence, remove the special “syn” argument from the constructors, and alter the tests accordingly. Improve the documentation of GNU regex in one or two places. Rename the “reverse” execution flag to “backward”, for clarity.
* Fix permissions: remove spurious executable permissions.Reuben Thomas2010-08-0113-0/+0
|
* Fix fixes to NOTBOL tests. Sorry, Shmuel.Reuben Thomas2010-08-011-2/+2
|
* Fix other NOTBOL tests (thanks, Shmuel!).Reuben Thomas2010-08-011-3/+3
|
* Implement reverse searching in GNU, and add a test for it.Reuben Thomas2010-07-311-0/+1
|
* Fix two that use the “not beginning of line” flag (POSIX & GNU). TheyReuben Thomas2010-07-312-3/+2
| | | | | | | erroneously had the subject “^abc”, not “abc”, so would always pass (because the pattern “^abc” would never match). Of course, they still pass with the flag set, but I have confirmed that they now fail with the flag removed (whereas before they passed).
* Add test for execution flags.Reuben Thomas2010-07-301-0/+14
|
* Add GNU-specific test (of translation tables).Reuben Thomas2010-07-302-1/+39
|
* Don't bother listing possible libraries; they're obvious, and this is just ↵Reuben Thomas2010-07-301-5/+1
| | | | another list to keep up to date.
* Implement per-regex syntax. Use this in the tests, but because most ofReuben Thomas2010-07-291-115/+2
| | | | | | | | the test harnesses are not set up for extra compile-time arguments, discard most of the tests in emacs_sets. Shmuel was happy with this idea; it’s similar to what other bindings do. Remove per-regex cflags, as the GNU API doesn’t have any.
* Various improvements to GNU regex support:Reuben Thomas2010-07-262-176/+2
| | | | | | | | | | | | 1. Change default syntax to POSIX_EXTENDED, as agreed with Shmuel. 2. Add setsyntax function to set the syntax. Use it to run a much smaller emacs_sets.lua, while using common_sets.lua (with normal syntax) as the main test. This commit also introduces preliminary untested code to support translation arrays, and code to parse a syntax argument so per-regex syntax can be selected.
* Add a new regex engine: GNU regex.rrt2010-07-192-1/+343
| | | | | | | | | This checkin contains simply a first rough cut of the new code, which passes the existing tests (but rewritten for Emacs syntax, in emacs_sets.lua). Documentation and complete code to expose the unique features of GNU regex is yet to come.
* prepare to release 2.4.0shmuz2008-08-041-0/+1
|
* force-reload the tested library; makefile reverted;shmuz2008-08-011-0/+1
|
* Changes related to Oniguruma addition and directory layout change.shmuz2008-07-302-0/+148
|
* a little fixshmuz2008-06-221-0/+1
|
* [API extension] All functions receiving string-type regex accept a compiled ↵shmuz2008-06-141-0/+6
| | | | regex too. If this is the case, cf and lo arguments are ignored (should be either supplied as nils or omitted).
* little fixshmuz2008-05-281-1/+1
|
* GNU regex test added to the list of available tests.shmuz2008-05-021-0/+1
|
* Add tests for new methods (match and find).shmuz2008-03-301-1/+31
|
* set_f_plainfind: add tests with empty patterns.shmuz2008-03-251-0/+3
|
* refactoringshmuz2008-03-251-37/+21
|
* small fixshmuz2007-12-271-2/+2
|
* add new command-line switch -d<directory> that will prepend <directory> to ↵shmuz2007-12-271-2/+26
| | | | package.cpath
* move tests with NULs in subject from common_sets.lua into other set filesshmuz2007-12-274-3/+72
|
* (set_m_exec): one test addedshmuz2007-09-201-0/+1
|
* locale tests commented outshmuz2007-06-081-2/+2
|
* several tests fixedshmuz2007-05-031-2/+2
|
* tests with PCRE cflags as a stringshmuz2007-05-021-1/+6
|
* (eq): no more relying on tostring giving different strings for different tables.shmuz2007-04-211-4/+4
|
* many changes -- see Changelogshmuz2007-04-194-6/+78
|
* many changes: see ChangeLogshmuz2007-03-171-0/+56
|
* many changes: see ChangeLogshmuz2007-03-173-65/+109
|
* API change (error handling): see ChangeLogshmuz2007-02-122-39/+39
|
* Must be of little interest to Lrexlib usersshmuz2007-01-043-693/+0
|