Go to file
2023-09-26 14:11:54 +02:00
benchmark
debug follow type naming convention 2023-09-26 12:50:14 +02:00
documentation docs 2023-09-26 14:11:54 +02:00
source readability 2023-09-26 11:08:24 +02:00
.gdbinit
.gitignore . 2023-09-26 11:08:36 +02:00
Makefile clean target 2023-09-26 12:49:58 +02:00
README.md

Jëger

A regex engine.

Syntax

The aim was to follow Vim's regex syntax. Esoteric special characters such as "\zs" are not implemented, however the just is supported.

match_t * regex_match(const regex_t * const regex, const char * const string, const bool start_of_string);

Returns a sentinel terminated array of match_t objects. The sentinel object is defined as (match_t){ .position = -1, .width = -1, };. The position and width of non-sentinel match_ts is guaranteed to be => 0.

Symbol Meaning (TODO: fill in)
.
=
+
*
?
\<
\>
^
\t
\n
\b
\i
\I
\k
\K
\f
\F
\p
\P
\s
\d
\D
\x
\X
\o
\O
\w
\W
\h
\a
\l
\L
\u
\U
[<range>]
[^<range>]