This website requires JavaScript.
Explore
Help
Sign In
mawww
/
kakoune
Watch
1
Star
1
Fork
0
You've already forked kakoune
mirror of
https://github.com/mawww/kakoune.git
synced
2024-12-27 13:44:32 +03:00
Code
Issues
Projects
Releases
Wiki
Activity
504d309894
kakoune
/
test
/
regression
/
1195-infinite-loop-in-regex-matching
/
cmd
2 lines
1 B
Raw
Normal View
History
Unescape
Escape
Change utf8::to_next/to_previous so that they are more symetrical The previous implementation could yield different positions when iterating forward and backward, leading to confusion in boost regex. This makes an existing problem a bit more visible: iterating with to_next and with read_codepoint wont behave the same way, as read_codepoint will put the iterator onto the byte following the utf8 codepoint, whereas to_next will put it on the next utf8 character start byte, which might be different if the buffer content is not valid utf8. Fixes #1195
2017-04-20 18:18:49 +03:00
Reference in New Issue
Copy Permalink