ruby/yarp/regexp.h
Jemma Issroff cc7f765f2c [Feature #19741] Sync all files in yarp
This commit is the initial sync of all files from ruby/yarp
into ruby/ruby. Notably, it does the following:

* Sync all ruby/yarp/lib/ files to ruby/ruby/lib/yarp
* Sync all ruby/yarp/src/ files to ruby/ruby/yarp/
* Sync all ruby/yarp/test/ files to ruby/ruby/test/yarp
2023-06-21 11:25:39 -07:00

18 lines
460 B
C

#ifndef YARP_REGEXP_H
#define YARP_REGEXP_H
#include "yarp/defines.h"
#include "yarp/parser.h"
#include <stdbool.h>
#include <stddef.h>
#include <string.h>
#include "yarp/util/yp_string_list.h"
#include "yarp/util/yp_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 char *source, size_t size, yp_string_list_t *named_captures);
#endif