comments
This commit is contained in:
parent
aabbde3f86
commit
fc765c00d4
2
main.go
2
main.go
@ -17,7 +17,7 @@ var (
|
|||||||
// format string with {0} as placeholders
|
// format string with {0} as placeholders
|
||||||
// {0} always matches the whole line
|
// {0} always matches the whole line
|
||||||
// {1} and onwards match their respective sub groups
|
// {1} and onwards match their respective sub groups
|
||||||
// You can optionall specify a printf-syntax for formatting like this: {1:%s} or {1:%02d}
|
// You can optionally specify a printf-syntax for formatting like this: {1:%s} or {1:%02d}
|
||||||
// printf-syntax is currently supported for: strings, floats, integers
|
// printf-syntax is currently supported for: strings, floats, integers
|
||||||
output = flag.String("o", "{0}", "output pattern")
|
output = flag.String("o", "{0}", "output pattern")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user