On one hand that makes sense, but the editor knows how much of the line can fit on screen and I don't see why it can't limit the regex to that plus remaining characters before the next whitespace. In theory this could maybe miss some really weird edge case tokens but in reality I don't think it matters.
Comment thread (1)