Sha256: 8ebfbcb4a5d09c6cbb9c48d057771ba9217cbf0d0495059ae4ebe7f4101ec91c

Contents?: true

Size: 577 Bytes

Versions: 3

Compression:

Stored size: 577 Bytes

Contents

#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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
yarp-0.12.0 include/yarp/regexp.h
yarp-0.11.0 include/yarp/regexp.h
yarp-0.10.0 include/yarp/regexp.h