aboutsummaryrefslogtreecommitdiff
path: root/jimregexp.h
AgeCommit message (Collapse)AuthorFilesLines
2020-07-31jimregexp: rename local regex functionsSteve Bennett1-4/+4
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>
2020-05-04regexp: Improved error messageSteve Bennett1-1/+2
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>
2014-01-21many comment changes, some small code changesSteve Bennett1-17/+9
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>
2011-06-29Change the builtin regexp to avoid compiling twiceSteve Bennett1-3/+3
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>
2011-06-09Use autosetup instead of autoconfSteve Bennett1-0/+4
Faster, simpler auto-configuration Signed-off-by: Steve Bennett <steveb@workware.net.au>
2011-06-09Revert regexp nested repeats from b34ab2f895Steve Bennett1-1/+0
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>
2011-06-07Simplify/fix repeating matchesSteve Bennett1-0/+1
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>
2010-11-17Add UTF-8 support to regexpSteve Bennett1-6/+8
Plus various ARE enhancements and bug fixes Signed-off-by: Steve Bennett <steveb@workware.net.au>
2010-11-17POSIX-compatible regex interfaceSteve Bennett1-0/+111
With some ARE extensions Signed-off-by: Steve Bennett <steveb@workware.net.au>