Tim Pierce
5d4774bcf6
Regexp flag enhancements
1997-06-28 08:50:43 +00:00
Jim Blandy
1a222b91b9
* regex-posix.c (scm_init_regex_posix): Delete the regexp/nosub
...
flag; I don't think we support it.
(scm_make_regexp): Make sure the user doesn't pass the
regexp/nosub flag.
1997-06-24 17:22:45 +00:00
Jim Blandy
fcfb248d0c
* regex-posix.c (scm_make_regexp, scm_regexp_exec): Add optional
...
FLAGS arguments.
(scm_init_regex_posix): Define constants for the REG_mumble flags;
name them according to the SCSH convention: regexp/mumble.
1997-06-24 05:33:59 +00:00
Jim Blandy
bd56d01662
* regex-posix.c (scm_make_regexp, scm_regexp_exec): Add optional
...
FLAGS arguments.
(scm_init_regex_posix): Define constants for the REG_mumble flags.
* regex-posix.h (scm_make_regexp, scm_regexp_exec): Update prototypes.
1997-06-24 05:30:28 +00:00
Jim Blandy
0b787875bc
* regex-posix.c (scm_regexp_exec): Use the `start' argument if
...
supplied. (Change from Tim Pierce.)
1997-06-07 00:07:33 +00:00
Jim Blandy
20044282fa
* regex-posix.c (scm_init_regex_posix): Register the "regex"
...
feature, to help boot-9.scm decide whether to import the regex
module.
1997-05-29 02:47:40 +00:00
Jim Blandy
69e0587b1c
* regex-posix.c: #include "_scm.h" before conditionally #including
...
<regex.h>; the former defines HAVE_REGCOMP.
1997-05-29 02:20:10 +00:00
Jim Blandy
24e37377fa
* regex-posix.c: #include <regex.h> conditionally, so the file is
...
CPP'able (for dependency scanning) even on systems that don't have
a <regex.h> header.
1997-05-28 17:02:23 +00:00
Jim Blandy
f255378e9a
Add support for POSIX regular expressions.
...
* regex-posix.c, regex-posix.h: New files. (Some code
is taken liberally from rx/rgx.c in the old Guile dist.)
* init.c: Include regex-posix.h.
(scm_boot_guile_1): Call scm_init_regex_posix.
* Makefile.am (EXTRA_libguile_la_SOURCES, modinclude_HEADERS):
Add regex-posix.[ch] sources.
* Makefile.in: Regenerated.
* scmconfig.h.in: Add HAVE_REGCOMP macro. (automake is supposed
to do this automatically? It didn't for me, bleh.)
1997-05-27 23:16:42 +00:00