Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Regular expressions containing \W are multi line. #226

Open
MartyGentillon opened this issue Apr 21, 2017 · 0 comments
Open

Regular expressions containing \W are multi line. #226

MartyGentillon opened this issue Apr 21, 2017 · 0 comments

Comments

@MartyGentillon
Copy link

https://github.com/atom/text-buffer/blob/master/src/helpers.js#L3

The MULTI_LINE_REGEX_REGEX should include /\W/.

MartyGentillon added a commit to MartyGentillon/atomic-emacs that referenced this issue Apr 21, 2017
The cursor would skip across newlines in addition to a single word.

Root cause is an underlying bug in text-buffer where old regular
expression was considered single line.  Extra new lines can be
removed after it is fixed.

see atom/text-buffer#226
see avendael#129
MartyGentillon added a commit to MartyGentillon/atomic-emacs that referenced this issue Apr 26, 2017
The cursor would skip across newlines in addition to a single word.

Root cause is an underlying bug in text-buffer where old regular
expression was considered single line.  Extra new lines can be
removed after it is fixed.

see atom/text-buffer#226
see avendael#129
oggy pushed a commit to avendael/atomic-emacs that referenced this issue May 15, 2017
The cursor would skip across newlines in addition to a single word.

Root cause is an underlying bug in text-buffer where old regular
expression was considered single line.  Extra new lines can be
removed after it is fixed.

see atom/text-buffer#226
see #129
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant