Skip to content

Commit

Permalink
regex tweak in hopes of allowing colnames with spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
nrminor committed Jan 8, 2024
1 parent 67aabc3 commit 42d477c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/schema/schema.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ func parseColumn(line string) Col {
latitude: in_range(-90, 90) # The latitude
*/
reColumn, err := regexp.Compile("^([^: ]+):([^$#]+)?(#.*$)?")
reColumn, err := regexp.Compile("^([^:]+):([^$#]+)?(#.*$)?")
if err != nil {
log.Fatal(err)
}
Expand Down

0 comments on commit 42d477c

Please sign in to comment.