MG Mud User | 88f1247 | 2016-06-24 23:31:02 +0200 | [diff] [blame^] | 1 | SYNOPSIS |
| 2 | #include <sys/driver_hooks.h> |
| 3 | #include <sys/regexp.h> |
| 4 | |
| 5 | set_driver_hook(H_REGEXP_PACKAGE, value) |
| 6 | |
| 7 | <value> being an integer: |
| 8 | 0 |
| 9 | RE_PCRE |
| 10 | RE_TRADITIONAL |
| 11 | |
| 12 | DESCRIPTION |
| 13 | Optional hook to select the default regexp package to use |
| 14 | for regular expression functions. |
| 15 | |
| 16 | If set to 0, the default package determined by the driver's |
| 17 | configuration/commandline options is used. |
| 18 | |
| 19 | HISTORY |
| 20 | Introduced in LDMud 3.3.595. |
| 21 | |
| 22 | SEE ALSO |
| 23 | hooks(C), default_prompt(H), invocation(D), regexp(C) |