Skip to contents

Compiling and inspecting

re_compile()
Compile regular expressions
re_info()
Describe compiled patterns
re_escape()
Quote regular expression metacharacters

Detecting and locating

re_detect() re_count()
Detect and count matches
re_locate() re_locate_all()
Locate matches

Extracting and capturing

re_extract() re_extract_all() re_match() re_match_all()
Extract matches and capture groups

Replacing and splitting

re_replace() re_expand()
Replace matches
re_split()
Split strings

Limits, threads and the cache

re_limits()
Bound the work a match may do
re_threads()
Thread cap for matching
re_cache_size() re_cache_clear()
The compiled-pattern cache

The package

zuregex_info()
Describe the bundled PCRE2 library
zuregex zuregex-package
zuregex: Bundled 'PCRE2' Regular Expressions with a C Interface