|
5f9bab528a
|
Don't quit if a file is not found, continue with any other files that are found
|
2025-03-18 11:45:50 -04:00 |
|
|
530564b920
|
Print error if input file is a directory; print program name before error string
|
2025-03-16 19:48:49 -04:00 |
|
|
02b3b469c4
|
Added support for line num flag
|
2025-03-16 19:23:23 -04:00 |
|
|
e489dc4c27
|
Started working on line number flag
|
2025-03-15 16:24:50 -04:00 |
|
|
34149980a4
|
Started working on multiple filename arguments; prefix each line with filename containing the line; mostly indentation changes
|
2025-03-13 12:11:54 -04:00 |
|
|
d2bce37935
|
Updated argument count validation
|
2025-03-12 16:46:05 -04:00 |
|
|
bb3b866b77
|
Started working on file arguments - stdin is used if arg is "-"
|
2025-03-12 16:44:40 -04:00 |
|
|
7b31031553
|
Change when a newline is printed; so that we don't print extraneous newlinesraneous newlines
|
2025-02-17 09:37:31 -05:00 |
|
|
38c842cb07
|
Added method to get length of unique array
|
2025-02-17 09:36:38 -05:00 |
|
|
7045711860
|
Convert test_str into a rune slice for better unicode compatibility, it also fixed the bug where all unicode characters wouldn't be colored
|
2025-02-13 08:57:06 -05:00 |
|
|
e546f01c20
|
Removed redundant return (staticcheck)
|
2025-02-09 09:12:55 -05:00 |
|
|
b5e6bc112c
|
Wrote 'reg.FindSubmatch()' which returns the leftmost match with submatches, renamed 'isValid' to 'IsValid' to export it, renamed 'ToString' to 'String'
|
2025-02-01 11:06:03 -05:00 |
|
|
ac05bceda3
|
Use method instead of function
|
2025-01-31 10:13:02 -05:00 |
|
|
45b6566b2c
|
Replaced function call with method call
|
2025-01-31 09:54:35 -05:00 |
|
|
f6d56b74e1
|
Updated module name to 'kleingrep' (Let's goo!)
|
2025-01-30 09:22:31 -05:00 |
|
|
dc53951408
|
Update package name in import
|
2025-01-30 09:15:44 -05:00 |
|
|
c5a43c47f0
|
Update type and method references to use qualified names
|
2025-01-30 09:03:37 -05:00 |
|
|
c3c3829ac9
|
Move 'genRange' function to 'cmd'
|
2025-01-30 09:03:07 -05:00 |
|
|
ee6bb3959c
|
Removed function that wasn't being used in 'greg', moved to 'main'
|
2025-01-30 08:58:43 -05:00 |
|
|
1a2f1b7ca9
|
Restructured code into 'cmd' module with CLI and 'greg' module with regex library; export necessary struct fields and methods
|
2025-01-30 08:56:12 -05:00 |
|