You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that the startIndex--in this case, anyway--is 4, which chops the var string off, which makes the match think that b is the beginning of a line.
The text was updated successfully, but these errors were encountered:
Consider this small test file:
A search for
^\w+
finds TWO results:var
andb
.I've isolated the problem to this line of code: https://github.com/ajaxorg/ace/blob/master/lib/ace/search.js#L140
It seems that the
startIndex
--in this case, anyway--is4
, which chops thevar
string off, which makes the match think thatb
is the beginning of a line.The text was updated successfully, but these errors were encountered: