On May 2, 2005, at 4:20 PM, Chris Thomas wrote: > Paste this into the Ruby syntax: > { > name = "string.here-doc.ruby"; > begin = "(?=<<(\\w+))"; end = "^\\1"; > } > > It's behaving as though the capture doesn't exist. BTW, removing the lookahead and doing many other obvious things does not help. :) Chris