mirror of
https://github.com/gonum/gonum.git
synced 2025-10-06 15:47:01 +08:00
all: run gofmt and generate all packages
Changes made in dsp/fourier/internal/fftpack break the formatting used there, so these are reverted. There will be complaints in CI. [git-generate] gofmt -w . go generate gonum.org/v1/gonum/blas go generate gonum.org/v1/gonum/blas/gonum go generate gonum.org/v1/gonum/unit go generate gonum.org/v1/gonum/unit/constant go generate gonum.org/v1/gonum/graph/formats/dot go generate gonum.org/v1/gonum/graph/formats/rdf go generate gonum.org/v1/gonum/stat/card git checkout -- dsp/fourier/internal/fftpack
This commit is contained in:
@@ -636,11 +636,11 @@ var (
|
||||
//
|
||||
// An ID is one of the following:
|
||||
//
|
||||
// 1. Any string of alphabetic ([a-zA-Z\200-\377]) characters, underscores ('_')
|
||||
// or digits ([0-9]), not beginning with a digit;
|
||||
// 2. a numeral [-]?(.[0-9]+ | [0-9]+(.[0-9]*)? );
|
||||
// 3. any double-quoted string ("...") possibly containing escaped quotes (\");
|
||||
// 4. an HTML string (<...>).
|
||||
// 1. Any string of alphabetic ([a-zA-Z\200-\377]) characters, underscores ('_')
|
||||
// or digits ([0-9]), not beginning with a digit;
|
||||
// 2. a numeral [-]?(.[0-9]+ | [0-9]+(.[0-9]*)? );
|
||||
// 3. any double-quoted string ("...") possibly containing escaped quotes (\");
|
||||
// 4. an HTML string (<...>).
|
||||
func isID(s string) bool {
|
||||
// 1. an identifier.
|
||||
if reIdent.MatchString(s) {
|
||||
|
Reference in New Issue
Block a user