aboutsummaryrefslogtreecommitdiff
path: root/ext/misc/regexp.c
Commit message (Collapse)AuthorAge
* GCC 13 has become more quite pedantic about the signature of functions ↵drh2025-01-13
| | | | | | | | | matching the type of pointers through which the functions are called. Make adjustments to extension functions and test procedures to work around this. No changes to the core. FossilOrigin-Name: ed83b79100b4345235aec990303c4526874f0c2f8701160c4639a80633ebaf70
* Fix harmless compiler warning caused by [0772ddf56713d013].drh2023-05-12
| | | FossilOrigin-Name: f06c16a8b0e7a15ce4f7d99af3376a1bf1bfbfc0fdc048b079418ae74c619d6b
* Make the regexp extension more robust against OOM errors during compilationdrh2023-05-12
| | | | | | of the recognizer engine. [forum:/forumpost/f50aecd5e8|Forum post f50aecd5e8]. FossilOrigin-Name: 0772ddf56713d013cd1bd44f9c75977ca14f852e3a8f038b0a6b9814f6519d79
* Fix lots of harmless, nuisance compiler warnings, mostly unused parameterdrh2022-12-23
| | | | | warnings in extensions. FossilOrigin-Name: c14bbe1606c1450b709970f922b94a641dfc8f9bd09126501d7dc4db99ea4772
* Fix corner cases in UTF8 handling in the REGEXP extension.drh2022-11-17
| | | | | [forum:/forumpost/3ffe058b04|Forum post 3ffe058b04]. FossilOrigin-Name: abb18f61c5cec0f524acc41453b4c06b61c5af51ff46417588837fc0c3967288
* Fix harmless compiler warning seen with MSVC.mistachkin2022-07-21
| | | FossilOrigin-Name: 648172de20d70532ed0fb9713b76161dd481e09bbd973c03dffb51fb61b731cc
* Enhance the REGEXP extension so that it will accept the start-of-inputdrh2022-07-18
| | | | | | mark ("^") in the middle of parentheses. [forum:/forumpost/0d6a9160f81ef1a8|Forum post 0d6a9160f81ef1a8]. FossilOrigin-Name: ed8a8ebd62a319b5dabbdf67ee27141153b9899d7c8f08eeb4bdf35271015c71
* Fix a problem in the REGEXP extension for the {M,N} construct where M is zero.drh2022-07-18
| | | | | | See [forum:/forumpost/8694e55a2c29963c|forum post 8694e55a2c29963c] for more information. FossilOrigin-Name: af15bb75306a4b94593b8431a34768b3de3d6689293e85ca02db16bf3e9f39e2
* Enhance the ext/misc/regexp.c code so that when it is compiled withdrh2022-07-18
| | | | | | SQLITE_DEBUG, a new function named regexp_bytecode() is available that prints out the compiled NFA as human-readable text, for debugging purposes. FossilOrigin-Name: cb5c08978fe8f074e6ae16953575213709e98b8bbae4359e0d2e6de67a7ea9e5
* Enhance the REGEXP extension so that the end-of-input indicate ("$") isdrh2022-07-03
| | | | | | | allowed to occur on one branch of an OR ("|"). [forum:/forumpost/0107d5d40dd273e2|Forum post 0107d5d40dd273e2], second issue. FossilOrigin-Name: 3c04d21e6c632feb3bea8d1fa76bedcbfe254b0dc59865633d158a3f1bddefba
* Fix the initial-prefix optimization for the REGEXP extension such that itdrh2022-07-03
| | | | | | | works even if the prefix contains characters that require a 3-byte UTF8 encoding. This should fix the problem reported by [forum:/forumpost/96692f8ba5|forum post 96692f8ba5]. FossilOrigin-Name: c94595a6e15490b432f099fefbe2429fa19287f7bdc86332cba0fd1e08f65bd6
* Mark the REGEXP operator in the built-in extension as deterministic.drh2021-12-31
| | | FossilOrigin-Name: e654b57a9fc32021453eed48d1c1bba65c833fb1aac3946567968c877e4cbd10
* Fix harmless compiler warnings, mostly caused by prior efforts to get staticdrh2021-10-05
| | | | | analyzers to run without warnings. FossilOrigin-Name: cddd3b382a118bb16be3a602ae711fe2c2a7d1c673dd30dd3977b67ee555e666
* Remove unnecessary end-of-line whitespace from the regexp.c extension.drh2021-06-07
| | | FossilOrigin-Name: 17e26a1f5e3cc4e96b9265dcdbf54f376304b0908f3ff0a0d3df33653e77e5b6
* Fix harmless compiler warnings.drh2021-06-04
| | | FossilOrigin-Name: 83aca2d8704e51eeed5652b1506c6fc883c0397728cda456f229369788b8608a
* Fix more cases in the regexp extension where the 0x00 terminator at the enddrh2021-06-04
| | | | | | of the input string is being pattern matched. [forum/forumpost/9104f0d9e7|Forum post 9104f0d9e7]. FossilOrigin-Name: 569e00d4acd426667990d675ca5da48a1859ac84af2412464ecd29c7c5da828c
* Fix a bug in the regexp extension in which the "." wildcard would matchdrh2021-06-03
| | | | | the 0x00 terminator at the end of the comparison string. FossilOrigin-Name: fa23108b299fc70e80540c449500e50ac6344a152f4f6b9c1b1f568bbda8f6e1
* Fix the case-insensitive version of the regexp() function so that it does notdrh2021-06-03
| | | | | | use the prefix optimization incorrectly. [forum:/forumpost/983b43ef8e|Forum post 983b43ef8e]. FossilOrigin-Name: 1a8e43cc1b7969c40140dd7fd481d5ffd9de80e214eb494567c286d93a2b06e5
* Create the "trusted_schema" pragma. Add sqlite3_vtab_config() calls to setdrh2020-01-07
| | | | | the risk rank for many virtual tables. FossilOrigin-Name: 4c21373c21c9b17b222ae65297a039a035e6ec6b505c00c33704e3c03f94f834
* Fix the regexp extension so that it correctly translates all over-lengthdrh2019-12-19
| | | | | 3-byte UTF8 sequences into 0xfffd. FossilOrigin-Name: 3d4c0bf8904135fa68c75801bfa738715cacc3b19dc8ad6ef550b11798d4b121
* Add some static to the 'regexp' extension.mistachkin2019-08-13
| | | FossilOrigin-Name: a21d1dde73f811244b5b43f9fed5877263a9c5061470221f417e501f5530edfa
* Use 64-bit math to compute the sizes of memory allocations in extensions.drh2019-01-08
| | | FossilOrigin-Name: ca67f2ec0e294384c397db438605df1b47aae5f348a8de94f97286997625d169
* More harmless compiler warning fixes.mistachkin2016-04-12
| | | FossilOrigin-Name: ab69527c1608da0b668f3b49e967661dd99cc3d4
* Documentation changes to warn that sqlite3_set_auxdata() might call thedrh2013-07-18
| | | | | | destructor even before it returns. Also fix the regexp extension to deal with that case. Ticket [406d3b2ef91c]. FossilOrigin-Name: 7acc8cd32d593a473c9e9adaf323220a7a46480a
* Added the transitive_closure, ieee754, and amatch extensions.drh2013-04-25
| | | FossilOrigin-Name: 84018099c8715b982cd24ce9221f93c7379e8c08
* Make "test_regexp.c" into a loadable extension and move it over todrh2013-04-23
ext/misc/regexp.c. Add the "load_static_extension" command for testing purposes. FossilOrigin-Name: 860fc393bff27045e0593c3c51bf5577accd0b79