Commit 307703d6 authored by Jamie A. Jennings's avatar Jamie A. Jennings

Comment cleanup

parent 20a08d77
......@@ -15,8 +15,9 @@ package os
-- unix_path = { "/" ([:alnum:]/[_%!$@:.,~-])+ / ".." / "." }+
alias path_unix = { {".." / "."}? {"/" {[:alnum:]/[_%!$@:.,~\-]}+ }+ }
--alias os.pathchar = [[:alnum:][_%!$@:.,~-]]
--alias os.unix_path = { {"../" / "./" / "/"}? {pathchar+ {"/" pathchar+}+ } }
alias path_windows = { {[:alpha:]+ ":"}? {"\\" {![\\?*] .}* }+ }
path = path_unix / path_windows
-- TODO: create tests
-- TODO: write unit tests
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment