Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Disallow 0-width matches with x// and h// | Thomas Voss | 2024-01-26 | 1 | -16/+22 | |
| | ||||||
* | Validate that input is well-formed UTF-8 | Thomas Voss | 2024-01-26 | 1 | -12/+20 | |
| | ||||||
* | Provide context on regex comp failure | Thomas Voss | 2024-01-26 | 1 | -1/+1 | |
| | ||||||
* | Support case-insensitive regex matching | Thomas Voss | 2024-01-24 | 1 | -5/+11 | |
| | ||||||
* | Move arguments to git-grep into static array | Thomas Voss | 2024-01-24 | 1 | -6/+9 | |
| | ||||||
* | Find files via git-grep instead of git-ls-files | Thomas Voss | 2024-01-24 | 1 | -6/+7 | |
| | | | | | | It would be preferable to use git-ls-files as it is more suited for our purposes, however git-grep allows us to filter out binary files. It makes no sense to regex match in a binary file, so this is crucial. | |||||
* | Codestyle changes | Thomas Voss | 2024-01-24 | 1 | -6/+7 | |
| | ||||||
* | Disallow h// at the start of patterns | Thomas Voss | 2024-01-23 | 1 | -0/+2 | |
| | ||||||
* | Minor refactor | Thomas Voss | 2024-01-23 | 1 | -11/+7 | |
| | ||||||
* | Prefer char8_t strings to char strings | Thomas Voss | 2024-01-23 | 1 | -5/+5 | |
| | ||||||
* | Properly support UTF-8 in patterns | Thomas Voss | 2024-01-23 | 1 | -29/+37 | |
| | ||||||
* | Allow for only h// to take an empty pattern | Thomas Voss | 2024-01-22 | 1 | -3/+20 | |
| | ||||||
* | Remove <assert.h> include | Thomas Voss | 2024-01-22 | 1 | -2/+0 | |
| | ||||||
* | Implement H// | Thomas Voss | 2024-01-22 | 1 | -6/+41 | |
| | ||||||
* | Fix memory leaks | Thomas Voss | 2024-01-22 | 1 | -0/+5 | |
| | ||||||
* | Rename the ‘ma’ color to ‘hl’ | Thomas Voss | 2024-01-22 | 1 | -11/+11 | |
| | ||||||
* | Support highlighting matches with h// | Thomas Voss | 2024-01-22 | 1 | -37/+159 | |
| | ||||||
* | Avoid redefining static_assert | Thomas Voss | 2024-01-22 | 1 | -0/+3 | |
| | ||||||
* | Ignore 0-length matches when using X// | Thomas Voss | 2024-01-22 | 1 | -4/+7 | |
| | ||||||
* | Change v and y to G and X | Thomas Voss | 2024-01-22 | 1 | -5/+5 | |
| | ||||||
* | Vastly simplify position trackingv1.2.0 | Thomas Voss | 2024-01-21 | 1 | -34/+14 | |
| | ||||||
* | Move common code out into islbrk() | Thomas Voss | 2024-01-21 | 1 | -8/+14 | |
| | ||||||
* | Formatting fix | Thomas Voss | 2024-01-21 | 1 | -2/+1 | |
| | ||||||
* | Slight refactor | Thomas Voss | 2024-01-21 | 1 | -3/+2 | |
| | ||||||
* | Prefer nullptr to NULL | Thomas Voss | 2024-01-21 | 1 | -1/+1 | |
| | ||||||
* | Support line- & column-based match locations | Thomas Voss | 2024-01-21 | 1 | -12/+81 | |
| | ||||||
* | Reorganize output writing | Thomas Voss | 2024-01-21 | 1 | -21/+33 | |
| | ||||||
* | Only highlight matches when cflag is set | Thomas Voss | 2024-01-21 | 1 | -1/+1 | |
| | ||||||
* | Print byte-offsets into files | Thomas Voss | 2024-01-21 | 1 | -6/+27 | |
| | ||||||
* | Remove the ‘struct chars’ type | Thomas Voss | 2024-01-20 | 1 | -6/+4 | |
| | ||||||
* | Rename occurances of ‘pm’ to ‘rm’ | Thomas Voss | 2024-01-20 | 1 | -24/+24 | |
| | | | | ‘regex match’ makes more sense than ‘pattern match’ | |||||
* | Improve handling of the regmatch_t arg to putm() | Thomas Voss | 2024-01-20 | 1 | -16/+15 | |
| | ||||||
* | Add more color highlighting | Thomas Voss | 2024-01-20 | 1 | -10/+28 | |
| | ||||||
* | Add the -s/--strip-newline flag | Thomas Voss | 2024-01-20 | 1 | -13/+21 | |
| | ||||||
* | Make Clangd/IWYU happy | Thomas Voss | 2024-01-18 | 1 | -2/+2 | |
| | ||||||
* | Remove semicolons from macro definitions | Thomas Voss | 2024-01-18 | 1 | -2/+2 | |
| | ||||||
* | Fix typo | Thomas Voss | 2024-01-18 | 1 | -1/+1 | |
| | ||||||
* | Compile with REG_DOTALL when -n is not provided | Thomas Voss | 2024-01-18 | 1 | -4/+4 | |
| | ||||||
* | Add support for UTF-8 and Unicode | Thomas Voss | 2024-01-18 | 1 | -15/+28 | |
| | ||||||
* | Increase emsg buffer size | Thomas Voss | 2024-01-18 | 1 | -1/+1 | |
| | | | | | 128 should be enough, but the PCRE grep implementation by the grep developers use 256, so that might be a safer bet. | |||||
* | Decrease macro usage | Thomas Voss | 2024-01-18 | 1 | -4/+4 | |
| | ||||||
* | Terminate the longopts in grab.c with a null row | Thomas Voss | 2024-01-18 | 1 | -0/+1 | |
| | ||||||
* | Simplify code using libcompat | Thomas Voss | 2024-01-18 | 2 | -5/+27 | |
| | ||||||
* | Remove manual escape handling | Thomas Voss | 2024-01-18 | 1 | -17/+0 | |
| | | | | This is all handled for us by the PCRE2 library | |||||
* | Wrap -f/--filenames in ‘#if GIT_GRAB’ | Thomas Voss | 2024-01-18 | 1 | -0/+2 | |
| | ||||||
* | Add optional PCRE support | Thomas Voss | 2024-01-18 | 1 | -5/+9 | |
| | ||||||
* | Grab the latest version of da.h | Thomas Voss | 2024-01-17 | 2 | -23/+80 | |
| | ||||||
* | Switch colors to use GRAB_COLORS in GREP_COLORS-style | Thomas Voss | 2024-01-16 | 1 | -9/+61 | |
| | ||||||
* | Add -c to force colored output | Thomas Voss | 2024-01-16 | 1 | -6/+10 | |
| | ||||||
* | Close fds[FD_W] after dup2() | Thomas Voss | 2024-01-14 | 1 | -0/+1 | |
| |