Improve CI-related comments a bit

PUBLISHED_FROM=b16b5d7805da449c85f4fe22f3fcc4a4e68cbf00
This commit is contained in:
Dmitry Frank 2016-08-08 12:19:01 +03:00 committed by Cesanta Bot
parent 1ac661a5f5
commit a97e6939a6
3 changed files with 9 additions and 12 deletions

View File

@ -7,8 +7,8 @@ int slre_match(const char *regexp, const char *buf, int buf_len,
struct slre_cap *caps, int num_caps, int flags); struct slre_cap *caps, int num_caps, int flags);
``` ```
`slre_match()` matches string buffer `buf` of length `buf_len` against regular `slre_match()` matches the string buffer `buf` in length `buf_len` against the regular
expression `regexp`, which should conform the syntax outlined above. If regular expression `regexp`, which should conform the syntax outlined above. If the regular
expression `regexp` contains brackets, `slre_match()` can capture the expression `regexp` contains brackets, `slre_match()` can capture the
respective substrings into the array of `struct slre_cap` structures: respective substrings into the array of `struct slre_cap` structures:
@ -22,8 +22,8 @@ struct slre_cap {
N-th member of the `caps` array will contain fragment that corresponds to the N-th member of the `caps` array will contain fragment that corresponds to the
N-th opening bracket in the `regex`, N is zero-based. `slre_match()` returns N-th opening bracket in the `regex`, N is zero-based. `slre_match()` returns
number of bytes scanned from the beginning of the string. If return value is the number of bytes scanned from the beginning of the string. If the return value is
greater or equal to 0, there is a match. If return value is less then 0, there greater or equal to 0, there is a match. If the return value is less then 0, there
is no match. Negative return codes are as follows: is no match. Negative return codes are as follows:
```c ```c

View File

@ -8,14 +8,11 @@ licenses.
Commercial Projects: Once your project becomes commercialised GPLv2 licensing Commercial Projects: Once your project becomes commercialised GPLv2 licensing
dictates that you need to either open your source fully or purchase a dictates that you need to either open your source fully or purchase a
commercial license. Cesanta offer full, royalty-free commercial licenses commercial license. Cesanta offers full, royalty-free commercial licenses
without any GPL restrictions. If your needs require a custom license, wed be without any GPL restrictions. If your needs require a custom license, wed be
happy to work on a solution with you. [Contact us for happy to work on a solution with you. [Contact us for
pricing](https://www.cesanta.com/contact). pricing](https://www.cesanta.com/contact).
Prototyping: While your project is still in prototyping stage and not for sale, Prototyping: While your project is still in prototyping stage and not for sale,
you can use SLREs open source code without license restrictions. you can use SLREs open source code without any license restrictions.
[Super Light DNS Resolver](https://github.com/cesanta/sldr), [Mongoose web
server](https://github.com/cesanta/mongoose) are other projects by Cesanta
Software, developed with the same philosophy of functionality and simplicity.

View File

@ -3,13 +3,13 @@ title: "Overview"
--- ---
SLRE is an ISO C library that implements a subset of Perl regular SLRE is an ISO C library that implements a subset of Perl regular
expression syntax. Main features of SLRE are: expression syntax. The main features of SLRE are:
* Written in strict ANSI C'89 * Written in strict ANSI C'89
* Small size (compiled x86 code is about 5kB) * Small size (compiled x86 code is about 5kB)
* Uses little stack and does no dynamic memory allocation * Uses little stack and does no dynamic memory allocation
* Provides simple intuitive API * Provides a simple intuitive API
* Implements most useful subset of Perl regex syntax (see below) * Implements the most useful subset of Perl regex syntax (see below)
* Easily extensible. E.g. if one wants to introduce a new metacharacter `\i`, * Easily extensible. E.g. if one wants to introduce a new metacharacter `\i`,
meaning "IPv4 address", it is easy to do so with SLRE. meaning "IPv4 address", it is easy to do so with SLRE.