mirror of
https://github.com/ruby/ruby.git
synced 2025-08-24 05:25:34 +02:00

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
18 lines
460 B
C
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
|