This website requires JavaScript.
Explore
Help
Sign In
xenia
/
home
Watch
1
Star
0
Fork
0
You've already forked home
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
9f852652ee
home
/
test
/
regression
/
1195-infinite-loop-in-regex-matching
/
rc
3 lines
105 B
Plaintext
Raw
Normal View
History
Unescape
Escape
Move highlighters into Scopes That means we can now have highlighters active at global, buffer, and window scope. The add-highlighter and remove-highlighter syntax changed to take the parent path (scope/group/...) as a mandatory argument, superseeding the previous -group switch.
2017-10-28 05:00:51 +02:00
add-highlighter window regions -default code -match-capture sh \
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 17:18:49 +02:00
heredoc '<<-?(\w+)' '^\t*(\w+)$' ''
Reference in New Issue
Copy Permalink
Mastodon