marijnh/CodeMirror2 — Issue #314: Ruby parsing issue with division operator
Author: noelrappin
Created: 2012-01-04 22:23:10+00:00
State: open

Using the Ruby mode, latest release 2.2.

The line of Ruby code

strikes.size + (non_strikes.size / 2)

Seems to evaluate the slash as the beginning of a regular expression literal, and all further code in the code mirror element is colored accordingly.