| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
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.
|