-
Notifications
You must be signed in to change notification settings - Fork 276
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
There was some discussions on slack about this and turns out there is no real solution to slice strings easily in cue. Added a builtin which works internally on runes to work properly on strings with unicode chars. Not sure about the name of the builtin. Closes #424 cuelang/cue#424 GitOrigin-RevId: 55640e7cfdf8878e5a90b386fc43b9650656d1bc Change-Id: I40293d2e1646d1eee2e9074af9954a4be339de78 Reviewed-on: https://cue-review.googlesource.com/c/cue/+/6400 Reviewed-by: CUE cueckoo <cueckoo@gmail.com> Reviewed-by: Marcel van Lohuizen <mpvl@golang.org>
- Loading branch information
1 parent
9ebfa80
commit f01cfc5
Showing
3 changed files
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters