Source:NetHack 5.0.0/include/nhregex.h
Jump to navigation
Jump to search
Below is the full text to nhregex.h from the source code of NetHack 5.0.0. To link to a particular line, write [[Source:NetHack 5.0.0/include/nhregex.h#line12]], for example.
The NetHack General Public License applies to screenshots, source code and other content from NetHack.
This content was modified from the original NetHack source code distribution (by splitting up NetHack content between wiki pages, and possibly further editing). See the page history for a list of who changed it, and on what dates.
1. /* NetHack 5.0 nhregex.h $NHDT-Date: $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: $ */ 2. /* NetHack may be freely redistributed. See license for details. */ 3. 4. #ifndef NHREGEX_H 5. #define NHREGEX_H 6. 7. /* ### {cpp,pmatch,posix}regex.c ### */ 8. 9. extern struct nhregex *regex_init(void); 10. extern boolean regex_compile(const char *, struct nhregex *) NONNULLARG1; 11. extern char *regex_error_desc(struct nhregex *, char *) NONNULLARG2; 12. extern boolean regex_match(const char *, struct nhregex *) NO_NNARGS; 13. extern void regex_free(struct nhregex *) NONNULLARG1; 14. 15. #endif /* NHREGEX_H */ 16. 17. /*extern.h*/