Age | Commit message (Collapse) | Author | Files | Lines |
|
Avoid possible problems with when linking by renaming
local regex to jim_regcomp, jim_regexec, etc.
Fixes: #163
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
Detect and produce an error for missing closing bracket ]
Consider a trailing backslash as an invalid escape
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
Sweep through and clean up all (most) of the comments in the code.
While there, adjust some variable and function names to be more consistent,
and make a few small code changes - again, mostly for consistency.
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
Simply guess the program size and realloc if needed.
This also fixes a compile warning on some platforms.
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
Faster, simpler auto-configuration
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
Nested repeats can't really be handled properly, so remove
support since it breaks some non-nested cases.
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
Simplifies *, + and {n,m}, fixes some
broken cases and adds support for {n,m}?
Also fixes end-of-word match
Under some circumstances, repeats can now be nested.
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
Plus various ARE enhancements and bug fixes
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|
|
With some ARE extensions
Signed-off-by: Steve Bennett <steveb@workware.net.au>
|