slre/docs/overview.md
Dmitry Frank a97e6939a6 Improve CI-related comments a bit
PUBLISHED_FROM=b16b5d7805da449c85f4fe22f3fcc4a4e68cbf00
2016-08-08 09:36:15 +00:00

748 B

title
Overview

SLRE is an ISO C library that implements a subset of Perl regular expression syntax. The main features of SLRE are:

  • Written in strict ANSI C'89
  • Small size (compiled x86 code is about 5kB)
  • Uses little stack and does no dynamic memory allocation
  • Provides a simple intuitive API
  • Implements the most useful subset of Perl regex syntax (see below)
  • Easily extensible. E.g. if one wants to introduce a new metacharacter \i, meaning "IPv4 address", it is easy to do so with SLRE.

SLRE is perfect for tasks like parsing network requests, configuration files, user input, etc, when libraries like PCRE are too heavyweight for the given task. Developers of embedded systems would benefit most.