marijnh/CodeMirror — pull request #2696 by nextrevision (2014-07-13 15:42:31+00:00)
Title: Fixed regex pattern matching in puppet mode

Fixes incorrect regex pattern matching where after a successful match was made, if there existed a '/' beyond what would be considered a valid match, everything between would be included.

Example currently causing incorrect matching:

if $php_fpm_ini == undef {
$php_fpm_ini = $::operatingsystem ? {
/(?i:Ubuntu|Debian|Mint|SLES|OpenSuSE)/ => '/etc/php5/fpm/php.ini',
default => '/etc/php.ini',
}
}