]> Cypherpunks repositories - gostls13.git/commit
html/template, text/template: document glob semantics
authorAndrew Gerrand <adg@golang.org>
Fri, 31 May 2019 11:25:04 +0000 (21:25 +1000)
committerAndrew Gerrand <adg@golang.org>
Mon, 17 Jun 2019 21:53:49 +0000 (21:53 +0000)
commit263db9b6801ed9b05250da6f05ce93038e37c59c
tree083397aa67ce20b965f3ff7ea0e02e6322e1b28e
parent2f387ac1f3d171357be97034826c93d1bd2e0fdc
html/template, text/template: document glob semantics

This change updates the doc comments of the various ParseGlob functions
and methods to state that they use the semantics of filepath.Match when
matching the file name pattern.

Fixes #30608

Change-Id: Iee4bdc0a2a2f8647d1f9a910e4d72a5de9204d11
Reviewed-on: https://go-review.googlesource.com/c/go/+/179739
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
src/html/template/template.go
src/text/template/helper.go