-
Notifications
You must be signed in to change notification settings - Fork 17.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
x/text/internal/colltab: numeric.go should not skip "0" when is followed by a non-number #25554
Labels
FixPending
Issues that have a fix which has not yet been reviewed or submitted.
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
Comments
ALTree
added
the
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
label
Oct 12, 2020
lordwelch
added a commit
to lordwelch/text
that referenced
this issue
May 5, 2024
Fixes golang/go#25554 Sorts zero (0) as the first number instead of the last Sorts numbers with leading zeros after numbers with less leading zeros
lordwelch
added a commit
to lordwelch/text
that referenced
this issue
May 5, 2024
Sorts zero (0) as the first number instead of the last Sorts numbers with leading zeros after numbers with less leading zeros Fixes golang/go#25554
lordwelch
added a commit
to lordwelch/text
that referenced
this issue
May 5, 2024
Sorts zero (0) as the first number instead of the last Sorts numbers with leading zeros after numbers with less leading zeros Fixes golang/go#25554
lordwelch
added a commit
to lordwelch/text
that referenced
this issue
May 5, 2024
Sorts zero (0) as the first number instead of the last Sorts numbers with leading zeros after numbers with less leading zeros Fixes golang/go#25554
lordwelch
added a commit
to lordwelch/text
that referenced
this issue
May 5, 2024
Elem.Primary() == 0 has odd ordering properties, starting at 1 allows 0 to consistently be ordered before other numbers when non-numeric text follows a 0 Also fixes an issue comparing numbers > 269 characters with numbers < 270 characters Fixes golang/go#25554
Change https://go.dev/cl/583257 mentions this issue: |
dmitshur
added
the
FixPending
Issues that have a fix which has not yet been reviewed or submitted.
label
May 6, 2024
Any updates on this issue? It’s affecting our project, and a prompt fix would be greatly appreciated. Thank you! |
lordwelch
added a commit
to lordwelch/text
that referenced
this issue
Nov 7, 2024
Elem.Primary() == 0 has odd ordering properties, starting at 1 allows 0 to consistently be ordered before other numbers when non-numeric text follows a 0 Also fixes an issue comparing numbers > 269 characters with numbers < 270 characters Fixes golang/go#25554
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
FixPending
Issues that have a fix which has not yet been reviewed or submitted.
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
go version
)?go1.8.5
Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (
go env
)?GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/tlin/go"
GORACE=""
GOROOT="/usr/local/go"
GOTOOLDIR="/usr/local/go/pkg/tool/darwin_amd64"
GCCGO="gccgo"
CC="clang"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/9g/342mj7bd3h776hmqdw5c9xdn5wch_k/T/go-build934806691=/tmp/go-build -gno-record-gcc-switches -fno-common"
CXX="clang++"
CGO_ENABLED="1"
PKG_CONFIG="pkg-config"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
What did you do?
If possible, provide a recipe for reproducing the error.
A complete runnable program is good.
A link on play.golang.org is best.
What did you expect to see?
The output to be:
What did you see instead?
The actual output is:
Possible fix would be:
The text was updated successfully, but these errors were encountered: