I regularly ask myself why this is not implemented.
CSV.read(filepath, DataFrame; delim="\s+")
i know that this works.
CSV.read(filepath, DataFrame; delim=" ",stripwhitespace=true,ignorerepeated=true)
and yes, it is not the same…
nilshg
May 16, 2025, 12:48pm
2
Related:
opened 04:53AM - 07 Oct 22 UTC
new feature
As suggested [here](https://discourse.julialang.org/t/creating-a-table-from-rege… x/63201/1)
It occurred to me that it would be nice to be able to create a table from a string by providing a regex that uses named groups.
nushell’s parse function (docs , example ) does this.
A RegexMatch has all the right things for a Tables.jl row, except it doesn’t provide getproperty overloads as historically it’s fields were part of it’s public API (though that has progressively become less true, it would be too breaking to change that now).
But we can wrap a RegexMatch in a suitable type.
(Might a…
So I guess the answer is “because no one has implemented it”.