Go to file
2023-09-25 15:47:18 +02:00
benchmark benchmark/make is no longer a trap 2023-09-09 18:20:25 +02:00
debug debuging stuff 2023-09-09 12:10:23 +02:00
documentation bak 2023-09-23 12:41:15 +02:00
source fixed spelling mistake 2023-09-25 15:47:18 +02:00
.gdbinit debuging stuff 2023-09-09 12:10:23 +02:00
.gitignore ignore benchmarking 2023-09-23 16:35:22 +02:00
Makefile bugs go on and on, and they dont end 2023-09-23 14:52:40 +02:00
README.md some more documentation 2023-09-20 13:33:18 +02:00

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>]