Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: JRuby 1.6.3
-
Fix Version/s: JRuby 1.6.4
-
Component/s: Core Classes/Modules
-
Labels:None
-
Number of attachments :
Description
MatchData#end is returning always 0 when matches against strings with special characters. The bugs was affects directly Rails erb template handler, since it use #end to find groups of scriptlets (templates with special chars becames duplicated).
This gist should explain the bug: