Welcome! Please see the
About
page for a little more info on how this works.
GitHub Login
All Activity
Questions
Unanswered
Tags
Ask a Question
About
Ask a Question
clojure.string/reverse misplaces combining marks
0
votes
asked
Apr 25, 2019
in
ClojureScript
by
jira
2 issues here:
- two of mark's components are upside down,
- entire mark is applied to wrong letter: {color:red}t{color} instead of {color:red}e{color}.
Lorem ipsum
problem
jira
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
2
Answers
0
votes
answered
Apr 25, 2019
by
jira
_Comment made by: glts_
Same as in Clojure, so probably ‘as designed’.
You’ve picked combining characters here as a reversal that doesn’t work. But ‘semantic’ Unicode-aware string reversal may not even be a meaningful concept. For example, if you reverse a string that uses final sigma such that the sigma is no longer final, will you change it to the non-final sigma instead? There are hundreds of such subtleties in Unicode (see for example,
https://www.vidarholen.net/contents/blog/?p=324
).
Please
log in
or
register
to add a comment.
0
votes
answered
Jun 26, 2019
by
jira
Reference:
https://clojure.atlassian.net/browse/CLJS-3073
(reported by alex+import)
Please
log in
or
register
to add a comment.
Welcome to Clojure Q&A, where you can ask questions and receive answers from members of the Clojure community.
Related questions
clojure.string/escape in ClojureScript (unlike in Clojure) assumes cmap is a map
clojure.string/split adds separator matches & failed matches (nil) when the separator is a regex with alternation
clojure.string/split on empty regex includes empty string in results
`clojure.string/split` with a limit can not correctly split a string by a regular expression that using Lookahead or Loo
clojure.string/replace pattern/function of match API difference with clojure version
Categories
All categories
Clojure
(1.5k)
ClojureScript
(612)
ClojureCLR
(27)
Contrib libs
(727)
Tools
(76)
Meta
(19)
Other
(93)
Beginner
(1)
...