Skip to content

Commit c71ad2d

Browse files
blob79djc
authored andcommitted
Use simpler regex
1 parent 9953452 commit c71ad2d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bin/tf.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ struct Options {
3232
#[structopt(long, short = "n", default_value = "10")]
3333
num: usize,
3434
/// Regular expression used to split lines into fields
35-
#[structopt(long, short = "e", default_value = "\\s+")]
35+
#[structopt(long, short = "e", default_value = "[ \\t]")]
3636
regex: String,
3737
/// File to search
3838
file: String,

0 commit comments

Comments
 (0)