Skip to content

Commit

Permalink
Some tweaks on regex use case and ripgrep compare.
Browse files Browse the repository at this point in the history
  • Loading branch information
grafikrobot committed Aug 5, 2023
1 parent ca4b808 commit 3c40698
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions Jamroot.jam
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,19 @@ if --grep in [ modules.peek : ARGV ]
# /home/grafik/Sync/DevRoots/B2/bfg-mainline/src
# /home/grafik/Sync/DevRoots/Boost/develop/boost
# /home/grafik/Sync/DevRoots/grafikrobot/llvm-project
: *.*pp *.h *.cpp
: *.*pp *.h
: "#(include) \"([^\"]+)\"" "#(include) <([^>]+)>"
: 1 2
: recursive ] ;
ECHO $(mmm[1-10]) ;
mmm = $(mmm[1-30]) ;
while $(mmm)
{
ECHO ">" $(mmm[1]) $(mmm[2]) $(mmm[3]) ;
mmm = $(mmm[4-]) ;
}
EXIT "!" ;
# time ( rg -j 11 --mmap -U --files-without-match --include-zero -I -c -g "*.*pp" -g "*.h" -e "#(include) \"([^\"]+)\"" -e "#(include) <([^>]+)>" /home/grafik/Sync/DevRoots | wc -l )
# --no-mmap
}

import "class" : new ;
Expand Down

0 comments on commit 3c40698

Please sign in to comment.