Commit Graph

26 Commits

Author SHA1 Message Date
Sergey Lyubka
ca79a93d07 Fixed https://github.com/cesanta/slre/issues/6 2013-10-17 07:30:46 -07:00
Sergey Lyubka
b017911490 Added couple of failing tests for https://github.com/cesanta/slre/issues/6 2013-10-16 10:12:36 -07:00
Sergey Lyubka
402300e070 Using integer return codes 2013-10-01 12:13:00 +01:00
Sergey Lyubka
d5e5706066 "a*$ case fixed. Resetting error message on successful match. 2013-10-01 08:19:01 +01:00
Sergey Lyubka
28444bb685 Better metacharacter match 2013-09-30 19:30:50 +01:00
Sergey Lyubka
b2fb7a7126 Factored out string traversal into separate function 2013-09-30 10:52:57 +01:00
Sergey Lyubka
7ce50f32fa Fixed branching cases 2013-09-29 21:25:14 +01:00
Sergey Lyubka
25d9ce82ca Added 5 failing tests 2013-09-28 07:16:15 +01:00
Sergey Lyubka
acd861b945 Fixed error message reporting for the case when regex exhaust tested string 2013-09-28 02:11:33 +01:00
Sergey Lyubka
e5d1a3901a Merge branch 'master' of github.com:cesanta/slre 2013-09-28 02:06:26 +01:00
Sergey Lyubka
d2b0cd887e Fixed case with optional quantifiers at the end of the regex 2013-09-28 02:06:18 +01:00
tempanon
b9aa5ab864 comment should be updated
9cc3fe9 changed line order.
comment related line no longer above
2013-09-11 01:25:56 +02:00
Sergey Lyubka
9cc3fe9731 Made slre.c C++ clean - compiles by g++ with no warnings. 2013-08-26 17:11:20 +01:00
Sergey Lyubka
1184d099b6 Added one more capturing test 2013-08-15 10:55:24 +01:00
Sergey Lyubka
d958847ee4 Added example to find all URLs in a string 2013-08-07 11:01:28 +01:00
Sergey Lyubka
da9e79813f Character sets, plus ranges 2013-08-03 19:42:11 +01:00
Sergey Lyubka
c59863843b Added case insensitive flag 2013-08-03 10:02:13 +01:00
Sergey Lyubka
7f8fbe5680 Implemented 0xHH match 2013-08-02 14:21:48 +01:00
Sergey Lyubka
8cfa4336fc Added slre_replace() in the unit test 2013-08-02 10:09:52 +01:00
Sergey Lyubka
1af51985dd Fail unit test if at least one test fails 2013-08-01 12:01:57 +01:00
Sergey Lyubka
e032c6ce68 moved unit test to slre.c 2013-08-01 11:49:49 +01:00
Sergey Lyubka
de6b3578a1 README updated, bracket counting code fixed, added HTTP example 2013-08-01 10:09:23 +01:00
Sergey Lyubka
4b5c44036a Branching, \s and \d metachars added 2013-08-01 09:14:09 +01:00
Sergey Lyubka
f48c4821f7 Added handling of "*" quantifier and non-greedy match 2013-07-31 08:56:42 +01:00
Sergey Lyubka
6b8205b99c Initial brackets handling 2013-07-29 23:24:41 +01:00
Sergey Lyubka
c6d2484b85 Initial import 2013-07-29 10:04:59 +01:00