Added SILC_STR_REGEX macro to SILC Buffer Format API.
authorPekka Riikonen <priikone@silcnet.org>
Tue, 1 Jan 2008 16:10:46 +0000 (16:10 +0000)
committerPekka Riikonen <priikone@silcnet.org>
Tue, 1 Jan 2008 16:10:46 +0000 (16:10 +0000)
commitf2462c5dd7e885e3daa00066fbf53e166fd361e0
tree8cebcb640889b4ae1f307009a7f7c2fa095a0ea9
parentc8fd78a59002c54dbc331a26839d042055e89d65
Added SILC_STR_REGEX macro to SILC Buffer Format API.

It provides powerful regular expression matching within the
SilcBuffer.  Combined with SILC Buffer Format API it can turn
the API into a Stream Editor (sed) and Awk like, providing
powerful ways to match and edit the buffer in myriad of ways.
The SILC_STR_REGEX can also mimic the behavior of sed (match
and edit line by line).
CHANGES.RUNTIME
lib/silcutil/silcbuffmt.c
lib/silcutil/silcbuffmt.h
lib/silcutil/silctypes.h
lib/silcutil/tests/Makefile.am
lib/silcutil/tests/test_silcbuffmt.c [new file with mode: 0644]
lib/silcutil/tests/test_silcregex.c