alpha
Login
or
Join now
yen.salif.eu
/
noverby
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
[★] Personal Monorepo
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
noverby
/
rust
/
grep
/
src
/
at
main
6 files
Niclas Overby
style: Format tree with nix fmt
2mo ago
c2281b0e
args.rs
style: Format tree with nix fmt Bring the 55 files that checks.formatting flagged into compliance with the formatters added in the previous commit. The devenv git-hooks only run on changed files, so these had drifted; alejandra --check and cargo fmt --check flag the same files independently. No behaviour change: rustfmt, alejandra, rumdl, biome, tombi and mojo format only. Signed-off-by: Niclas Overby <niclas@overby.me>
2 months ago
files.rs
style: Format tree with nix fmt Bring the 55 files that checks.formatting flagged into compliance with the formatters added in the previous commit. The devenv git-hooks only run on changed files, so these had drifted; alejandra --check and cargo fmt --check flag the same files independently. No behaviour change: rustfmt, alejandra, rumdl, biome, tombi and mojo format only. Signed-off-by: Niclas Overby <niclas@overby.me>
2 months ago
grep.rs
style: Format tree with nix fmt Bring the 55 files that checks.formatting flagged into compliance with the formatters added in the previous commit. The devenv git-hooks only run on changed files, so these had drifted; alejandra --check and cargo fmt --check flag the same files independently. No behaviour change: rustfmt, alejandra, rumdl, biome, tombi and mojo format only. Signed-off-by: Niclas Overby <niclas@overby.me>
2 months ago
main.rs
fix(rust/grep): Pass 121/121 GNU grep tests (skip-read, symlink, pcre-abort) Skip-read: detect when no line can match (-m0, -f /dev/null, -v "") and avoid opening files. Stop early-exiting on empty -f patterns so -L can still print filenames for non-matching files. Symlinks: split -r from -R via dereference_recursive. -R now follows all symlinks through WalkDir::follow_links(true), detects recursion loops, and reports walker errors. Fix exit code precedence so errors (exit 2) win over matches (exit 0), except -q short-circuits on first match. Fix -L exit code to track real matches, not -L output. pcre-abort: detect patterns with nested unbounded quantifiers (e.g. ((a+)*)+$) in rust-pcre2. When such a pattern fails on a non-trivial input, return MatchLimit error to mimic PCRE2's exponential-backtracking behavior. Short inputs and successful matches are unaffected. Signed-off-by: Niclas Overby <niclas@overby.me>
4 months ago
matcher.rs
fix(rust/pcre2): Add dollar_endonly option for -z mode Add dollar_endonly compile option that makes $ match only at absolute end of string, not before final newline. Used by grep -z mode where newlines are regular characters. Fixes pcre test (118/119). Signed-off-by: Niclas Overby <niclas@overby.me>
4 months ago
pattern.rs
style: Format tree with nix fmt Bring the 55 files that checks.formatting flagged into compliance with the formatters added in the previous commit. The devenv git-hooks only run on changed files, so these had drifted; alejandra --check and cargo fmt --check flag the same files independently. No behaviour change: rustfmt, alejandra, rumdl, biome, tombi and mojo format only. Signed-off-by: Niclas Overby <niclas@overby.me>
2 months ago