Skip to content

Commit

Permalink
Provide a smidgeon of in-file documentation for parse_glob
Browse files Browse the repository at this point in the history
  • Loading branch information
mn200 committed Oct 27, 2014
1 parent 8308dd1 commit 7da4c56
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tools/Holmake/parse_glob.sig
Expand Up @@ -4,3 +4,12 @@ sig
val parse_glob : string -> regexpMatch.regexp

end

(* [parse_glob s] returns the regular expression corresponding to the
shell glob-expression s. Glob-expressions use the ?, [ and *
meta-characters and are documented in shell manual pages.
All strings generate a regular expression in this syntax. For
example, the superficially malformed "[a-" is the regular expression
that matches the one string "[a-".
*)

0 comments on commit 7da4c56

Please sign in to comment.