Skip to content
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/unicode/runenames: allow search of rune by name #32937

Open
tebeka opened this issue Jul 4, 2019 · 2 comments
Open

x/text/unicode/runenames: allow search of rune by name #32937

tebeka opened this issue Jul 4, 2019 · 2 comments
Labels
FeatureRequest NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone

Comments

@tebeka
Copy link
Contributor

tebeka commented Jul 4, 2019

What version of Go are you using (go version)?

$ go version
go version go1.12.6 linux/amd64

Does this issue reproduce with the latest release?

Yes?

What operating system and processor architecture are you using (go env)?

go env Output
$ go env
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/miki/.cache/go-build"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/miki/go"
GOPROXY="https://proxy.golang.org"
GORACE=""
GOROOT="/opt/go"
GOTMPDIR=""
GOTOOLDIR="/opt/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build030318607=/tmp/go-build -gno-record-gcc-switches"

What did you do?

x/text/unicode/runenames provides a way to lookup rune name, I'd like to do the opposite and look for a rune by it's name.

What did you expect to see?

A Rune(name string) (rune, error) function

What did you see instead?

Nothing :)

@gopherbot gopherbot added this to the Unreleased milestone Jul 4, 2019
@dmitshur dmitshur changed the title x/text/unicode/runenames Allow search of rune by name x/text/unicode/runenames: allow search of rune by name Jul 4, 2019
@bcmills bcmills added FeatureRequest NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. labels Jul 8, 2019
@bcmills
Copy link
Contributor

bcmills commented Jul 8, 2019

CC @mpvl

@mvdan
Copy link
Member

mvdan commented Apr 25, 2024

Presumably this would only return a positive result for precise matches?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
FeatureRequest NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Projects
None yet
Development

No branches or pull requests

4 participants