Fossil

File History
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

History of src/regexp.c

2018-10-10
16:42
Removed a period at the end of a sentence ending in a URL to avoid the need for cleverness in URL handling to get the correct document to open. (Affects "fossil help grep" output.) Problem noticed by jungleboogie on the forum, /forumpost/13332107cc.) file: [3509e175] check-in: [fac3d6b0] user: wyoung branch: trunk, size: 25264
2018-10-04
07:13
Fixed an off-by-one error affecting "fossil grep" when the final argument was left off. file: [1a473ddc] check-in: [f6502e8c] user: wyoung branch: trunk, size: 25265
2018-10-03
20:11
URL fix file: [cd369b29] check-in: [186748ff] user: wyoung branch: trunk, size: 25265
20:09
Moved the documentation for Fossil's grep implementation out of src/regexp.c into a new document with greatly-expanded content, www/grep.md, which is now referenced both from the source code and in the output for "fossil help grep". file: [f44c9481] check-in: [2e1775e2] user: wyoung branch: trunk, size: 25258
2018-06-13
02:18
The "fossil grep" command now agrees with the documentation. But there is still a lot of opportunity to make enhancements. file: [89c45caf] check-in: [6499c93d] user: drh branch: trunk, size: 26763
02:02
Incomplete implementation of the "fossil grep" command. file: [a5fc3a0f] check-in: [c5a98aa0] user: drh branch: trunk, size: 26687
2016-11-04
22:37
Consistently use the count(X) macro in place of sizeof(X)/sizeof(*X) throughout the Fossil core, excluding things that don't use makeheaders. Also use count(X) instead of ArraySize(X) which has the same definition. file: [11ed4c90] check-in: [e5b62edb] user: andygoth branch: trunk, size: 24401
2015-01-28
09:24
Minor compiler warning in shell.c (already fixed in SQLite). "char const" -> "const char" for consistancy. file: [bbd776d9] check-in: [5330d107] user: jan.nijtmans branch: trunk, size: 24424
2014-12-17
16:19
Begin adding infrastructure to support full-text search using FTS4. file: [427902ce] check-in: [9f9dfe3a] user: drh branch: search-using-fts4, size: 24438
2014-07-30
15:40
Call verify_all_options() on most of fossil CLI commands.    - Skip all the test-* commands for now (may be unnecessary)    - Skip sha1sum, md5sum and artifact because they can take "-" as argument and verify_all_options() would call fatal. Need to handle those differently...    - Command with subcommands that have their options are remaining: branch, bisect, cache, configuration, json, sql, stash, tag, ticket, user, wiki. (not sure how to handle those yet..) file: [2e96572c] check-in: [a426154b] user: mgagnon branch: verify-all-options, size: 24443
2013-03-01
23:33
Fix a harmless compiler warning in regexp.c. file: [056d7e54] check-in: [520703dd] user: drh branch: trunk, size: 24444
01:15
Change a memcmp into a strncmp in regexp.c in order to avoid the possibility of a buffer overread with optimized memcmp implementations. file: [21d9fc39] check-in: [eec7c001] user: drh branch: trunk, size: 24412
2013-01-18
12:36
Bring the regexp.c module into alignment with the similar code in the SQLite test suite. file: [c8fb75a1] check-in: [2f10a050] user: drh branch: trunk, size: 24411
2013-01-11
08:10
Off-by-one error in regexp \u escape sequence parsing. Regexp \x escape sequence should only accept exactly 2 hex digits. Typo. file: [c1c24702] check-in: [bef9a956] user: jan.nijtmans branch: regexp-x, size: 24425
2013-01-04
19:43
Fix an out-of-order variable declaration in regexp.c. file: [32d4b8e1] check-in: [8144cf15] user: drh branch: trunk, size: 24395
13:04
Add comments explaining the purpose (optimization) of the zInit[] array in the regex matcher. Back out the previous change that inserts non-plane-0 unicode characters into zInit[] as that change might overflow the zInit[] array. file: [7f909b32] check-in: [c23e6444] user: drh branch: trunk, size: 24395
2013-01-03
22:33
4-byte utf-8 for re_compile, fix 3-byte utf-8 there, and fix a compiler warning. file: [849075cb] check-in: [f86304fe] user: jan.nijtmans branch: trunk, size: 23996
20:02
Rename re_execute() to re_match(). Other fixes to regex matcher bugs that were introduced when porting the code from SQLite. file: [ceedafbe] check-in: [c84051f3] user: drh branch: trunk, size: 23795
13:38
regexp.c (re_next_char): 3 off-by-one errors, and disallow characters > 0x10ffff unicode.c/diff.c: fix some gcc warnings file: [12af7185] check-in: [a13e0a20] user: jan.nijtmans branch: trunk, size: 23730
09:27
Patched re_space_char() to conform to its docs (now recognizes \r as a space). file: [f68e0ff6] check-in: [c77995e6] user: stephan branch: trunk, size: 23713
2013-01-02
12:19
Fixed 2 string pointer type warnings reported on the mailing list. file: [ad7db992] check-in: [46af6b82] user: stephan branch: trunk, size: 23701
11:39
s/re_exec\b/re_execute/g, for compatibility with BSD. file: [b3e7b6f8] check-in: [6a26eb34] user: stephan branch: trunk, size: 23695
00:58
Enhance the diff logic so that it can suppress differences that do not match a regular expression. This capability is so far only exposed on the test-diff command. file: [0d12defb] check-in: [97a7b924] user: drh branch: trunk, size: 23677
2013-01-01
21:25
Add support for case folding in the regexp matcher. file: [40ecb2d2] check-in: [62cd2e24] user: drh branch: trunk, size: 22953
21:09
Enhance the regexp matcher to support full unicode on the \b, \w, and \W patterns, using code taken from the FTS3 unicode2 tokenizer. file: [f09b1ef4] check-in: [cb952c42] user: drh branch: trunk, size: 22540
20:56
Add the regular expression matching library and the "test-grep" command for testing it. file: [bdeaa98a] check-in: [e2552de8] user: drh branch: trunk, size: 22588 Added