25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
anon 0e99ecb8d8 yet more work on the docs 8 달 전
benchmark benchmark/make is no longer a trap 8 달 전
debug follow type naming convention 8 달 전
documentation yet more work on the docs 8 달 전
source readability 8 달 전
.gdbinit debuging stuff 8 달 전
.gitignore . 8 달 전
Makefile clean target 8 달 전
README.md some more documentation 8 달 전

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