Commit Graph

155 Commits

Author SHA1 Message Date
331c55b0dc Updated compiler flags 2021-01-02 13:57:04 -08:00
76fa547d0e Removed mkdir -v flag for compatibility 2020-12-30 21:28:44 -08:00
ae27a7eec4 Fixed some minor issues 2020-12-30 21:20:54 -08:00
323da51fb7 Bumped XOPEN_SOURCE number 2020-12-30 21:18:39 -08:00
ff2ef95041 Fully purging "bpeg" from the source 2020-12-30 19:42:47 -08:00
bc2ddc0408 Print filenames when replacing in-place 2020-12-30 16:24:59 -08:00
eeec0acd0a Don't print line numbers when dealing with piped-in input 2020-12-30 16:21:49 -08:00
a07da1989d Simplified syntax for replacement: just =>, no need for {} 2020-12-30 15:30:19 -08:00
7d4bc36949 Added in-place filtering/replacements 2020-12-27 19:48:52 -08:00
177bc55cfc Updated to use `a,b,c 2020-12-19 19:04:21 -08:00
c28e647259 Added `a,b,c support 2020-12-19 18:53:51 -08:00
c477bfdbd5 Fix for range at the end of a file 2020-12-19 18:51:30 -08:00
b098e5225a Extra safety 2020-12-19 18:42:13 -08:00
06b1a795bb Better null byte handling, simplified match datastructures, and some
misc. cleanup
2020-12-17 19:49:56 -08:00
b37359b450 Cleanup 2020-12-17 19:26:38 -08:00
14ae16d987 Fixed -d flag bug 2020-12-17 18:53:16 -08:00
484e1e33da Memory allocation failure checks, and a simpler new() function 2020-12-17 16:27:23 -08:00
40be243004 Updated docs 2020-12-17 16:23:45 -08:00
b3bca46c2f Added --list-files 2020-12-17 16:23:29 -08:00
6c3654161c Better arg parsing 2020-12-14 22:32:47 -08:00
f019a4fcb1 Fix for json header file 2020-12-14 22:20:16 -08:00
94ba1fd177 Fixes for nodent in nested matches 2020-12-14 22:18:04 -08:00
3acf397e6d Imports cleanup and removing FILE* parameter from json 2020-12-14 22:13:47 -08:00
2fb68fa97f Moved json code into its own file 2020-12-14 22:01:50 -08:00
e638a517bf Re-hooked up JSON output 2020-12-14 21:58:38 -08:00
1ff4a9eb05 Hooked up json 2020-12-14 21:55:36 -08:00
52f154d53f Removed colon after filename in output 2020-12-14 21:43:06 -08:00
e4066302b9 Strings not multiline by default 2020-12-14 21:38:49 -08:00
29f993f984 Bug fix for literals exceeding end of file 2020-12-14 21:35:49 -08:00
a8b844cfb6 Multiline paren groups 2020-12-14 21:35:43 -08:00
3753bc1be0 Updated '|' to mean word boundary and \N for nodent 2020-12-14 21:28:00 -08:00
8b50fc5d1d Fixed parens typo 2020-12-14 21:27:47 -08:00
9f93a88890 Dead code 2020-12-14 21:01:30 -08:00
0a5eebdafa Removing dead code 2020-12-14 20:58:13 -08:00
01522b619f Fix for html 2020-12-14 18:45:49 -08:00
9617baf699 Updated grammars 2020-12-14 18:39:56 -08:00
c9daa5f29f Added support for ...%p 2020-12-14 18:39:31 -08:00
c43e478176 Added % operator to .. 2020-12-14 18:11:33 -08:00
41639915de Updated how == and != operators work 2020-12-14 17:51:01 -08:00
eb329bdac9 Bunch of changes, including some bpeg->bp renaming, and adding
visualizations
2020-12-12 16:31:53 -08:00
6e1fd92814 Tweaks to nodent behavior 2020-10-13 17:12:37 -07:00
2fb49a5e53 Merge branch 'master' of github.com:bruce-hill/c-bpeg into master 2020-10-11 14:12:40 -07:00
a57731771e Replaced (!"x" .) with (. != "x") 2020-10-11 14:12:06 -07:00
cfbdc7aee7 Fixed off-by-one error and bug in filename-printing logic 2020-09-29 13:25:43 -07:00
ba8b41ed68 Added emails 2020-09-28 22:23:19 -07:00
7261a2b3f7 Url fixes 2020-09-28 22:22:10 -07:00
f2f10586bb Bugfixes 2020-09-28 22:22:05 -07:00
f7430e443a Major improvements to error messages 2020-09-28 22:02:00 -07:00
1a8095c6d7 Starting to add better error messages 2020-09-28 21:30:43 -07:00
90b8db84a4 Moved */+ back to prefix, and dropped ? 2020-09-28 18:08:23 -07:00