Commit 666efd1
committed
README: Recommend using Regexp filters for
Using String filters can include wrong files to groups because it
matches if the string is contained within the path.
For example:
# This matches files like `./lib/foo.rb`
# but also `./app/models/library.rb'
add_group 'Libraries', 'lib'
# Prefer Regexp filter instead:
add_group 'Libraries', %r{^/lib/}add_group
1 parent 8548671 commit 666efd1
1 file changed
+7
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
489 | 489 | | |
490 | 490 | | |
491 | 491 | | |
492 | | - | |
493 | | - | |
| 492 | + | |
| 493 | + | |
494 | 494 | | |
495 | 495 | | |
496 | 496 | | |
497 | | - | |
| 497 | + | |
498 | 498 | | |
499 | 499 | | |
500 | 500 | | |
| |||
738 | 738 | | |
739 | 739 | | |
740 | 740 | | |
741 | | - | |
742 | | - | |
743 | | - | |
744 | | - | |
| 741 | + | |
| 742 | + | |
| 743 | + | |
| 744 | + | |
745 | 745 | | |
746 | 746 | | |
747 | 747 | | |
| |||
0 commit comments