![]() Provide a cleaned-up set up path-extension functions. In contrast to `path-{add,replace}-suffix` and `filename-extension`, a dot at the beginning of a path element is not treated as an extension separator. Also, `path-extension` returns an extension including its separator, which is more consistent with other extension functions. The new `path-has-extension?` function replaces many uses of regexp matching in the base collections. Closes #1307 |
||
---|---|---|
.. | ||
file.rkt | ||
filename-version.rkt |