mirror of
https://codeberg.org/scip/tablizer.git
synced 2025-12-16 20:20:57 +01:00
more refactoring, fixed bug in shell mode output, fixed default
Separator and fixed #3
This commit is contained in:
@@ -46,7 +46,6 @@ func parseFile(input io.Reader, pattern string) (Tabdata, error) {
|
||||
|
||||
hadFirst := false
|
||||
separate := regexp.MustCompile(Separator)
|
||||
|
||||
patternR, err := regexp.Compile(pattern)
|
||||
if err != nil {
|
||||
return data, errors.Unwrap(fmt.Errorf("Regexp pattern %s is invalid: %w", pattern, err))
|
||||
|
||||
Reference in New Issue
Block a user