diff options
author | Kevin Newton <[email protected]> | 2023-09-27 12:22:36 -0400 |
---|---|---|
committer | Kevin Newton <[email protected]> | 2023-09-27 13:57:38 -0400 |
commit | 8ab56869a64fdccc094f4a83c6367fb23b72d38b (patch) | |
tree | 46ef2bd5c51d5b7f923eda6a60edefc7a08200db /prism/regexp.h | |
parent | 7e0971eb5d679bb6219abb0ec238139aa6502c5a (diff) |
Rename YARP filepaths to prism filepaths
Diffstat (limited to 'prism/regexp.h')
-rw-r--r-- | prism/regexp.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/prism/regexp.h b/prism/regexp.h new file mode 100644 index 0000000000..6807c58398 --- /dev/null +++ b/prism/regexp.h @@ -0,0 +1,19 @@ +#ifndef YARP_REGEXP_H +#define YARP_REGEXP_H + +#include "yarp/defines.h" +#include "yarp/parser.h" +#include "yarp/enc/yp_encoding.h" +#include "yarp/util/yp_memchr.h" +#include "yarp/util/yp_string_list.h" +#include "yarp/util/yp_string.h" + +#include <stdbool.h> +#include <stddef.h> +#include <string.h> + +// Parse a regular expression and extract the names of all of the named capture +// groups. +YP_EXPORTED_FUNCTION bool yp_regexp_named_capture_group_names(const uint8_t *source, size_t size, yp_string_list_t *named_captures, bool encoding_changed, yp_encoding_t *encoding); + +#endif |