regexp_package

ldmud-3.3.719/doc/hook/regexp_package · 576 B

From the archive ldmud-3.3.719.tar.gz

Download the archive   « Back to the archive contents

SYNOPSIS
        #include <sys/driver_hooks.h>
        #include <sys/regexp.h>

        set_driver_hook(H_PRINT_PROMPT, value)

        <value> being an integer:
          0
          RE_PCRE
          RE_TRADITIONAL

DESCRIPTION
        Optional hook to select the default regexp package to use
        for regular expression functions.

        If set to 0, the default package determined by the driver's
        configuration/commandline options is used.

HISTORY
        Introduced in LDMud 3.3.595.

SEE ALSO
        hooks(C), default_prompt(H), invocation(D), regexp(C)

Site Stats

Snippets: 1791
Codebases: 571