summaryrefslogtreecommitdiff
path: root/test/emacs_sets.lua
Commit message (Collapse)AuthorAgeFilesLines
* unpack = unpack or table.unpackShmuel Zeigerman2015-02-181-0/+1
|
* Remove incorrect comments and add a test. (Shmuel)Reuben Thomas2010-10-041-3/+0
|
* 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-011-0/+0
|
* 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-261-175/+1
| | | | | | | | | | | | 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-191-0/+342
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.